mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 12:19:12 +08:00
Fixed teh cxx11_tensor_empty test to compile without requiring cxx11 support
This commit is contained in:
parent
a8c0405cf5
commit
9d1dbd1ec0
@ -24,10 +24,10 @@ static void test_empty_tensor()
|
|||||||
|
|
||||||
static void test_empty_fixed_size_tensor()
|
static void test_empty_fixed_size_tensor()
|
||||||
{
|
{
|
||||||
TensorFixedSize<float, Sizes<0>> source;
|
TensorFixedSize<float, Sizes<0> > source;
|
||||||
TensorFixedSize<float, Sizes<0>> tgt1 = source;
|
TensorFixedSize<float, Sizes<0> > tgt1 = source;
|
||||||
TensorFixedSize<float, Sizes<0>> tgt2(source);
|
TensorFixedSize<float, Sizes<0> > tgt2(source);
|
||||||
TensorFixedSize<float, Sizes<0>> tgt3;
|
TensorFixedSize<float, Sizes<0> > tgt3;
|
||||||
tgt3 = tgt1;
|
tgt3 = tgt1;
|
||||||
tgt3 = tgt2;
|
tgt3 = tgt2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user