We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
If I try-catch the evaluation of derivative, the expression gets unexpected mutation in-place if it fails I'm using 12.0.0
12.0.0
To Reproduce Steps to reproduce the behavior.
https://codesandbox.io/s/fast-worker-pnq7lf?file=/src/App.tsx
const expr = math.parse("min(x, y)"); console.log(math.format(expr)); try { const dx = math.derivative(expr, "x"); } catch {} console.log(math.format(expr));
min(x, y) min(0, 0)
The text was updated successfully, but these errors were encountered:
a1f3b7c
Thanks for reporting!
Fixed via a1f3b7c (not yet published)
Sorry, something went wrong.
The fix is published now in v12.1.0
v12.1.0
No branches or pull requests
Describe the bug
If I try-catch the evaluation of derivative, the expression gets unexpected mutation in-place if it fails
I'm using
12.0.0
To Reproduce
Steps to reproduce the behavior.
https://codesandbox.io/s/fast-worker-pnq7lf?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: