Fix incorrect latex code on let term

This commit is contained in:
Arne Keller 2021-08-29 15:32:49 +02:00
parent 9b1070651c
commit 6bae4a3b01

View File

@ -220,7 +220,8 @@ public class LatexCreatorConstraints implements StepVisitor {
.append(DOLLAR_SIGN).append(COMMA).append(DOLLAR_SIGN);
});
if (!letConstraints.isEmpty()) {
// remove comma and dollar sign
// remove last comma and dollar signs
result.deleteCharAt(result.length() - 1);
result.deleteCharAt(result.length() - 1);
result.deleteCharAt(result.length() - 1);
}