Skip to content

Commit 65414a2

Browse files
committed
Fix sympy 1.8 moved import
1 parent a25fc29 commit 65414a2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

conda/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "sunode" %}
2-
{% set version = "0.1.1" %}
2+
{% set version = "0.2" %}
33

44
package:
55
name: {{ name|lower }}
@@ -33,7 +33,7 @@ requirements:
3333
- sundials >=5.3
3434
- numba >=0.49
3535
- typing_extensions
36-
- sympy
36+
- sympy >=1.8
3737

3838
test:
3939
imports:

sunode/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sunode.solver
77

88

9-
__version__ = "0.1.1"
9+
__version__ = "0.2"
1010

1111
__all__ = [
1212
"empty_matrix",

sunode/symode/lambdify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import inspect
77
from functools import partial
88

9-
from sympy.printing.pycode import SciPyPrinter
9+
from sympy.printing.numpy import SciPyPrinter
1010
import sympy
1111
import numpy as np
1212

0 commit comments

Comments
 (0)