Skip to content

Commit b52b007

Browse files
committed
unit: try setting nbatch 1 for test cases
This forces to use the ctor with nbatches. Only nbatch == 1 is supported anyway.
1 parent 095203d commit b52b007

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/tensor_um.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct TensorUMFixture {
3636

3737
const range_type r;
3838

39-
TensorUMFixture() : r(make_range(81)), t(r) {
39+
TensorUMFixture() : r(make_range(81)), t(r, TensorN::nbatches{1}) {
4040
rand_fill(18, t.size(), t.data());
4141
}
4242

0 commit comments

Comments
 (0)