Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lambdify to numpy, not numpy.__dict__
Lambdifying to with modules=numpy.__dict__ does not work with conditionals (sympy.Piecewise). If using numpy.__dict__, Piecewise is lambdified to if-else (which doesn't worky with numpy arrays), while it should convert to numpy.select
- Loading branch information