diff --git a/misc/test_build_cusm_from_coo.py b/misc/test_build_cusm_from_coo.py index 7512a136dd364..17b46a4384f93 100644 --- a/misc/test_build_cusm_from_coo.py +++ b/misc/test_build_cusm_from_coo.py @@ -24,7 +24,7 @@ y.fill(0.0) A = ti.linalg.SparseMatrix(n=4, m=4, dtype=ti.float32) -A.build_coo(d_coo_val, d_coo_col, d_coo_row) +A.build_coo(d_coo_row, d_coo_col, d_coo_val) A.spmv(x, y)