Skip to content

allow the use of LAPACK_COMPLEX_CPP when using MSVC compiler #5244

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

Merged
merged 1 commit into from
May 10, 2025

Conversation

chitao1234
Copy link
Contributor

Currently, openblas force the use complex.h when building lapack for msvc, this commit allow it to also use the C++ complex using LAPACK_COMPLEX_CPP macro as it is in the non msvc case.

@martin-frbg
Copy link
Collaborator

MSVC is clearly not my forte, but I added this in response to #4073 - would we need an MSVC version check here perhaps ?

@chitao1234
Copy link
Contributor Author

I guess we do not need a version check for MSVC, I checked that std::complex is present all the way back in visual studio .net 2003.

@martin-frbg martin-frbg added this to the 0.3.30 milestone May 10, 2025
@martin-frbg martin-frbg merged commit 2320e0b into OpenMathLib:develop May 10, 2025
85 of 86 checks passed
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