diff options
Diffstat (limited to 'modules/codec/tests/math.cpp')
| -rw-r--r-- | modules/codec/tests/math.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/codec/tests/math.cpp b/modules/codec/tests/math.cpp index 5f4de92..34dcce8 100644 --- a/modules/codec/tests/math.cpp +++ b/modules/codec/tests/math.cpp @@ -31,7 +31,8 @@ SAW_TEST("Math/Tensor Construction"){ SAW_TEST("Math/Tensor Fill"){ using namespace saw; - auto tensor = math::fill<sch::Float64,2u,2u>({2.5}); + data<schema::Tensor<sch::Float64,2u,2u>> tensor; + math::fill(tensor,{2.5}); bool cf{true}; for(uint64_t i = 0u; i < 2u; ++i){ |
