Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMeisrimelModelon committed Dec 21, 2023
1 parent fac2c6e commit 5add193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/sundials_callbacks_ida_cvode.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import cython

from assimulo.exception import AssimuloRecoverableError

cdef int cv_rhs(realtype t, N_Vector yv, N_Vector yvdot, void* problem_data):
"""
Expand Down
1 change: 1 addition & 0 deletions src/lib/sundials_callbacks_kinsol.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import cython
from assimulo.exception import AssimuloRecoverableError

IF SUNDIALS_VERSION >= (3,0,0):
cdef int kin_jac(N_Vector xv, N_Vector fval, SUNMatrix Jac,
Expand Down
5 changes: 1 addition & 4 deletions src/solvers/sundials.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ import numpy.linalg
import traceback
import scipy.sparse as sparse

from assimulo.exception import (
AssimuloException,
AssimuloRecoverableError # for *.pxi include
)
from assimulo.exception import AssimuloException

from assimulo.explicit_ode cimport Explicit_ODE
from assimulo.implicit_ode cimport Implicit_ODE
Expand Down

0 comments on commit 5add193

Please sign in to comment.