mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -14,9 +14,8 @@
|
||||
|
||||
using Eigen::Tensor;
|
||||
|
||||
template <int DataLayout, typename Type=float, bool Exclusive = false>
|
||||
static void test_1d_scan()
|
||||
{
|
||||
template <int DataLayout, typename Type = float, bool Exclusive = false>
|
||||
static void test_1d_scan() {
|
||||
int size = 50;
|
||||
Tensor<Type, 1, DataLayout> tensor(size);
|
||||
tensor.setRandom();
|
||||
@@ -48,9 +47,8 @@ static void test_1d_scan()
|
||||
}
|
||||
}
|
||||
|
||||
template <int DataLayout, typename Type=float>
|
||||
static void test_4d_scan()
|
||||
{
|
||||
template <int DataLayout, typename Type = float>
|
||||
static void test_4d_scan() {
|
||||
int size = 5;
|
||||
Tensor<Type, 4, DataLayout> tensor(size, size, size, size);
|
||||
tensor.setRandom();
|
||||
|
||||
Reference in New Issue
Block a user