Skip to content
New issue

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

math.expression.node is no longer works since version 7 #1899

Closed
ovk opened this issue Jun 28, 2020 · 2 comments
Closed

math.expression.node is no longer works since version 7 #1899

ovk opened this issue Jun 28, 2020 · 2 comments

Comments

@ovk
Copy link
Contributor

ovk commented Jun 28, 2020

It appears that math.expression.node (as described in this documentation: https://mathjs.org/docs/expressions/expression_trees.html) is no longer working since MathJS 7.

You can see that it is undefined in 7.0.2: https://jsfiddle.net/8qr3cLyn/ . But if you switch to MathJS 6 it works find and contains constructors for all the nodes as expected (ConstantNode, SymbolNode etc.).

@josdejong
Copy link
Owner

Thanks for reporting, I see the documentation is outdated.

The classes in math.expression.node.* are moved to math.* since v6.0.0 (should show a deprecation warning in the console), and removed since 7.0.0.

Fixed via 2df28bb.

@josdejong
Copy link
Owner

This fix has been published now in v7.1.0

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

No branches or pull requests

2 participants