mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +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()
|
||||
{
|
||||
TensorFixedSize<float, Sizes<0>> source;
|
||||
TensorFixedSize<float, Sizes<0>> tgt1 = source;
|
||||
TensorFixedSize<float, Sizes<0>> tgt2(source);
|
||||
TensorFixedSize<float, Sizes<0>> tgt3;
|
||||
TensorFixedSize<float, Sizes<0> > source;
|
||||
TensorFixedSize<float, Sizes<0> > tgt1 = source;
|
||||
TensorFixedSize<float, Sizes<0> > tgt2(source);
|
||||
TensorFixedSize<float, Sizes<0> > tgt3;
|
||||
tgt3 = tgt1;
|
||||
tgt3 = tgt2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user