Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Simplify fails on "0+0" #19

Open
trkern opened this issue May 9, 2019 · 0 comments
Open

Simplify fails on "0+0" #19

trkern opened this issue May 9, 2019 · 0 comments

Comments

@trkern
Copy link

trkern commented May 9, 2019

KAS.parse("0+0").expr.simplify() yields Rational {n: NaN, d: NaN}.

I'm using this in a case where the expression being simplified can involve variables (but defaults to "0+0"), so switching to .eval() alone is not enough to work around the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant