Skip to content

Adding new simplification rules is not working #179

Open
@andrew-murdza

Description

@andrew-murdza

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

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