Skip to content

Commit 8d2fe9c

Browse files
committed
Added calls to truncate in the the sparse gemm unit test.
1 parent fca07f2 commit 8d2fe9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/dist_eval_contraction_eval.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ BOOST_AUTO_TEST_CASE( sparse_eval )
365365

366366
// Fill arrays with random data
367367
rand_fill_array(left);
368+
left.truncate();
368369
rand_fill_array(right);
370+
right.truncate();
369371

370372
array_eval_type left_arg(make_array_eval(left, left.get_world(), left.get_shape(),
371373
proc_grid.make_row_phase_pmap(tr.tiles().volume() / tr.tiles().size().front()),

0 commit comments

Comments
 (0)