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

Bugfix issue #49 #117

Merged
merged 7 commits into from
Mar 27, 2024
Merged

Bugfix issue #49 #117

merged 7 commits into from
Mar 27, 2024

Conversation

Marvmann
Copy link
Contributor

Avoid error message "TypeError: This operation is not supported for complex128 values because it would be ambiguous." by transforming problem matrix with imaginary terms that are all zero into purely real matrices.

If the imaginary part of all matrix elemts is zero, the matrix is tranformed into a real matrix. If there are imaginary terms != 0, a warning is lgged.
Updated the input type from dict to any. In all tests run, the input format was a numpy array. Corrrected checking for -1 in the solution string.
@Marvmann Marvmann requested review from philross and drelu as code owners March 26, 2024 17:23
@philross philross merged commit de5162f into dev Mar 27, 2024
5 checks passed
@philross philross deleted the bugfix_issue_#49 branch March 27, 2024 06:50
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.

2 participants