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

Adding new simplification rules is not working #179

Open
andrew-murdza opened this issue Jul 5, 2024 · 0 comments
Open

Adding new simplification rules is not working #179

andrew-murdza opened this issue Jul 5, 2024 · 0 comments

Comments

@andrew-murdza
Copy link

andrew-murdza commented Jul 5, 2024

Steps to Reproduce

    import { ComputeEngine } from 'https://unpkg.com/@cortex-js/compute-engine?module';
    const ce = new ComputeEngine();
    const expr1 = ce.parse('\\log(1)');
    const simplifiedExpr1 = expr1.simplify(["\\log(1)->0"]);
    console.log(simplifiedExpr1.toString());

Actual Behavior

log(1)

Expected Behavior

0

Environment

0.25.1

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

No branches or pull requests

1 participant