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

@@ -14,7 +14,7 @@
template <typename Scalar, int rank, int Layout>
struct test_tensor_ostream_impl {};
template<typename Scalar, int Layout>
template <typename Scalar, int Layout>
struct test_tensor_ostream_impl<Scalar, 0, Layout> {
static void run() {
Eigen::Tensor<Scalar, 0> t;
@@ -25,7 +25,7 @@ struct test_tensor_ostream_impl<Scalar, 0, Layout> {
}
};
template<typename Scalar, int Layout>
template <typename Scalar, int Layout>
struct test_tensor_ostream_impl<Scalar, 1, Layout> {
static void run() {
Eigen::Tensor<Scalar, 1> t = {3};
@@ -36,7 +36,7 @@ struct test_tensor_ostream_impl<Scalar, 1, Layout> {
}
};
template<typename Scalar, int Layout>
template <typename Scalar, int Layout>
struct test_tensor_ostream_impl<Scalar, 2, Layout> {
static void run() {
Eigen::Tensor<Scalar, 2> t = {3, 2};
@@ -47,7 +47,7 @@ struct test_tensor_ostream_impl<Scalar, 2, Layout> {
}
};
template<typename Scalar, int Layout>
template <typename Scalar, int Layout>
struct test_tensor_ostream_impl<Scalar, 3, Layout> {
static void run() {
Eigen::Tensor<Scalar, 3> t = {4, 3, 2};
@@ -61,7 +61,7 @@ struct test_tensor_ostream_impl<Scalar, 3, Layout> {
}
};
template<int Layout>
template <int Layout>
struct test_tensor_ostream_impl<bool, 2, Layout> {
static void run() {
Eigen::Tensor<bool, 2> t = {3, 2};
@@ -72,7 +72,7 @@ struct test_tensor_ostream_impl<bool, 2, Layout> {
}
};
template<typename Scalar, int Layout>
template <typename Scalar, int Layout>
struct test_tensor_ostream_impl<std::complex<Scalar>, 2, Layout> {
static void run() {
Eigen::Tensor<std::complex<Scalar>, 2> t = {3, 2};