Skip to content

Commit

Permalink
.A to torray()
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieHakim committed Nov 14, 2024
1 parent 158ce7b commit a93c0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def benchmark_toeplitz_convolution2d():
# success = False
# break
# try:
# if np.allclose(out_t2d, out_t2d_s.A) and np.allclose(out_t2d, out_sp) and np.allclose(out_sp, out_t2d_s.A):
# if np.allclose(out_t2d, out_t2d_s.toarray()) and np.allclose(out_t2d, out_sp) and np.allclose(out_sp, out_t2d_s.toarray()):
# success = True
# continue
# except Exception as e:
Expand Down

0 comments on commit a93c0e5

Please sign in to comment.