Commit fdf168f
committed
Fix an issue with implied multiplication in the contextFraction.pl macro.
The issue occurs with the following MWE:
```
DOCUMENT();
loadMacros(qw(PGstandard.pl MathObjects.pl contextUnits.pl contextFraction.pl));
Context(context::Units::extending('Fraction')->withUnitsFor('length'));
$a = Compute('2*3 cm');
ENDDOCUMENT();
```
Attempting to open the problem with the develop or main branch will
consume all of your server's resources, and eventually the oomkiller
will kill the process.
The changes in this pull request were suggested by @dpvc in an email
communication between @Alex-Jordan, @dpvc, and myself.1 parent 9dbb09a commit fdf168f
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
650 | 658 | | |
651 | 659 | | |
652 | 660 | | |
| |||
0 commit comments