odes
odes copied to clipboard
Fix typos in IDA iterative solvers, add tests
There were a couple typos in the preconditioner wrappers for IDA:
aux_data.r_vec->aux_data.rvec_tmpto be consistent withIDA_data- The
prec_solvefn.evaluate()call was missingyp_tmp - Documentation referred to
spbcgas a linear solver, but code expectedspbcgs
I also added test_iterative.py which uses the Robertson problem to test all three iterative solvers. I had to skip these tests for extended-precision builds because I used np.linalg.solve which cannot handle longdouble.