Fix issues with NumPy deprecations.
Several updates were made to align with the most recent NumPy changes (v2.0).
Specifically:
-
numpy.float_
is now deprecated andnumpy.float64
is used instead. -
numpy.infty
is now deprecated andnumpy.inf
is used instead (there was mix usages). -
numpy.math
is now deprecated. It was an alias to themath
module in the standard library; For the relevant functionsmath
is now used.
Moreover:
- the argument
atol
in the call toscipy.linalg.gmres()
in the test function is removed due to deprecation and the default, whatever it is, is used instead. - Clean up test files from commented block of codes and several new composite fixtures are introduced to simplify the code in the tests.
This commit should resolve Issue #147 (closed).