You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the attached MWE. If reduceConstants is set to 0, when a negative number is substituted into a formula, the parentheses are removed in the LaTeX string.
See the attached MWE. If reduceConstants is set to 0, when a negative number is substituted into a formula, the parentheses are removed in the LaTeX string.
e.g.
Context() -> flags -> set(reduceConstants => 0);
$f = Formula("x^2");
$g = $f->substitute(x=>-3);
The value of $g is 9, but the LaTeX string for $g is "-3^2", which causes two issues:
reduceConstantsIssue.pg.txt
The text was updated successfully, but these errors were encountered: