We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0acb6 commit d3e590bCopy full SHA for d3e590b
symengine/__init__.py
@@ -56,8 +56,10 @@
56
def lambdify(args, exprs, **kwargs):
57
return Lambdify(args, *exprs, **kwargs)
58
else:
59
- def lambdify(args, exprs, **kwargs):
60
- raise ModuleNotFoundError("Cannot import numpy, which is required for `lambdify` to work")
+ def __getattr__(name):
+ if name == 'lambdify':
61
+ raise AttributeError("Cannot import numpy, which is required for `lambdify` to work")
62
+ raise AttributeError
63
64
__version__ = "0.9.2"
65
0 commit comments