Closed dcbradley closed 6 months ago
This patch fixes a problem in symbolic evaluation of the division of a fraction by something else.
const ce = new ComputeEngine(); var expr = ce.parse("(x/2)/y"); console.log(expr.json);
[ 'Divide', [ 'Multiply', 'x', 'y' ], 2 ]
[ 'Divide', 'x', [ 'Multiply', 2, 'y' ] ]
compute-engine 0.23.1
I have not tried previous versions.
Cheers!
Oops. Good catch and good fix. Thanks!
This patch fixes a problem in symbolic evaluation of the division of a fraction by something else.
How to reproduce
Actual behavior
Expected behavior
Environment
compute-engine 0.23.1
I have not tried previous versions.
Cheers!