opencollab / jlatexmath

A Java API to render LaTeX
Other
513 stars 109 forks source link

\longdiv{10}{} -> Infinite loop #66

Open murkle opened 4 years ago

murkle commented 4 years ago

Needs checking/fixing in 2 places

1) TeXParser.getArgAsPositiveInteger() returns -1 for the {} argument

2) In LongDivAtom.makeResults() this could be improved :) while (q != 0) {