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

Simplify fails on "0+0" #19

Description

@trkern

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions