Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMeisrimelModelon committed Dec 21, 2023
1 parent 7b2cfda commit 5ac25fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/sundials.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ cdef class IDA(Implicit_ODE):
def _set_linear_solver(self, lsolver):
if lsolver.upper() == "DENSE" or lsolver.upper() == "SPGMR":
self.options["linear_solver"] = lsolver.upper()
else Exception:
else:
raise AssimuloException('The linear solver must be either "DENSE" or "SPGMR".')

def _get_linear_solver(self):
Expand Down

0 comments on commit 5ac25fb

Please sign in to comment.