Clang-format tests, examples, libraries, benchmarks, etc.

This commit is contained in:
Antonio Sánchez
2023-12-05 21:22:55 +00:00
committed by Rasmus Munk Larsen
parent 3252ecc7a4
commit 46e9cdb7fe
876 changed files with 33453 additions and 37795 deletions

View File

@@ -11,9 +11,7 @@
#include <Eigen/CXX11/Tensor>
static void test_empty_tensor()
{
static void test_empty_tensor() {
Tensor<float, 2> source;
Tensor<float, 2> tgt1 = source;
Tensor<float, 2> tgt2(source);
@@ -22,8 +20,7 @@ static void test_empty_tensor()
tgt3 = tgt2;
}
static void test_empty_fixed_size_tensor()
{
static void test_empty_fixed_size_tensor() {
TensorFixedSize<float, Sizes<0> > source;
TensorFixedSize<float, Sizes<0> > tgt1 = source;
TensorFixedSize<float, Sizes<0> > tgt2(source);
@@ -32,9 +29,7 @@ static void test_empty_fixed_size_tensor()
tgt3 = tgt2;
}
EIGEN_DECLARE_TEST(cxx11_tensor_empty)
{
CALL_SUBTEST(test_empty_tensor());
CALL_SUBTEST(test_empty_fixed_size_tensor());
EIGEN_DECLARE_TEST(cxx11_tensor_empty) {
CALL_SUBTEST(test_empty_tensor());
CALL_SUBTEST(test_empty_fixed_size_tensor());
}