Skip to content

Commit

Permalink
Merge pull request #2137 from Ericgig/bug.imatmul
Browse files Browse the repository at this point in the history
Fix dtype in `imatmul`
  • Loading branch information
Ericgig committed Mar 28, 2023
2 parents ab6a0d7 + d24119b commit ef81573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutip/core/data/matmul.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -471,4 +471,4 @@ cdef void imatmul_data_dense(Data left, Dense right, double complex scale, Dense
elif type(left) is Dense:
matmul_dense(left, right, scale, out)
else:
iadd_dense(out, matmul(left, right), scale)
iadd_dense(out, matmul(left, right, dtype=Dense), scale)

0 comments on commit ef81573

Please sign in to comment.