Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dtype in imatmul #2137

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Fix dtype in imatmul #2137

merged 1 commit into from
Mar 28, 2023

Conversation

Ericgig
Copy link
Member

@Ericgig Ericgig commented Mar 28, 2023

Description
We use imatmul_data_dense for cython only, in-place matmul operation since the dispatcher can't handle in-place operation but they can't have nice impact on performance.
imatmul_data_dense had a bug that when data is not Dense or CSR it would use a wrong specialization of matmul and raise an error.

It work fine with all data layer in qutip/qutip so we can test it here, but some tests fails in qutip-jax (qutip/qutip-jax#14) because of it.

Related issues or PRs
Blocking qutip/qutip-jax#14

@coveralls
Copy link

Coverage Status

Coverage: 75.328%. Remained the same when pulling d24119b on Ericgig:bug.imatmul into ab6a0d7 on qutip:master.

@Ericgig Ericgig merged commit ef81573 into qutip:master Mar 28, 2023
@Ericgig Ericgig deleted the bug.imatmul branch March 28, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants