xiaoyeli / superlu

Supernodal sparse direct solver. https://portal.nersc.gov/project/sparse/superlu/
Other
280 stars 96 forks source link

Usage of complex breaks code that include `complex.h` #115

Closed lysnikolaou closed 1 year ago

lysnikolaou commented 1 year ago

Because of the typedef here and all its usages, code that uses SuperLU and also includes the complex.h header (that makes complex a reserved keyword) fails to compile.

Example issue: scipy/scipy#19036

If you agree to change this, I can start working on a PR. My understanding is that we'd have to do the following:

What do you think?

lysnikolaou commented 1 year ago

Slight ping.