Bjorn

Results 46 issues of Bjorn

I got a recursion error after updating SymPy to `master` in a project of mine, I managed to minimize the expression to a minimal reproducer: `cse(-1-UnevaluatedExpr(Symbol('x')+1))` Here's a shell session...

simplify
unevaluated

#### References to other Issues or PRs #### Brief description of what is fixed or changed I don't think this function has seen much use in the wild. However, it...

codegen

Tentative fix for recusion error when using lambdify. #### References to other Issues or PRs Fixes #24673 #### Brief description of what is fixed or changed #### Other comments Perhaps...

Please take over
Merge conflict

#### References to other Issues or PRs #### Brief description of what is fixed or changed This is enough to get some basic test passing. #### Other comments Added this...

utilities.lambdify
Merge conflict

Currently PythonCodePrinter in `sympy.printing.pycode` generates code using python's `math` module. We should probably add another printer which uses the [cmath](https://docs.python.org/3/library/cmath.html) module by default.

printing
codegen

I'm updating a build script for sundials and I got some linking errors related to transitioning from USE_GENERIC_MATH to `SUNDIALS_MATH_LIBRARY`. I noticed that the default value for SUNDIALS_MATH_LIBRARY gets set...

triage

#### Reference issue gh-12513 #### What does this implement/fix? Avoid infinite loop when using `method="tr-exact"` in `optimize.minimize`. #### Additional information I have only a superficial understanding of these methods. So...

enhancement
scipy.optimize

This is a companion PR for: https://github.com/symengine/symengine/pull/1990

This is a minimal set of changes to hopefully fix gh-1989. Do you think the approach is sound? Should we merge this subset of changes. Or should the PR include...

I tried to replace `sympy.linsolve` with `symengine.linsolve` in a project of mine, it worked well until I tried to solve an underdetermined system, upon the python process crashed. The reason...