sandialabs / Spitfire

Spitfire is a Python/C++ library for constructing tabulated chemistry models and solving differential equations.
Other
37 stars 9 forks source link

Replace NaN and Inf aliases for Numpy 2.0 compatibility #38

Closed MatthewBonanni closed 3 weeks ago

MatthewBonanni commented 3 weeks ago

Numpy 2.0 drops many aliases, including np.NaN and np.Inf. This change replaces all of these instances for compatibility.

michael-a-hansen commented 3 weeks ago

@MatthewBonanni many thanks!