fix for multiplication sign before open group symbol
This commit is contained in:
parent
3839e54fd6
commit
f181b75b4a
@ -59,7 +59,7 @@ public class Preprocessor {
|
||||
mathTypeBefore != MathEntityType.unary_operation &&
|
||||
!MathEntityType.openGroupSymbols.contains(chBefore)) {
|
||||
|
||||
if (mathType == MathEntityType.constant) {
|
||||
if (mathType == MathEntityType.constant || MathEntityType.openGroupSymbols.contains(ch)) {
|
||||
sb.append("*");
|
||||
} else if (mathType == MathEntityType.digit && mathTypeBefore != MathEntityType.digit && mathTypeBefore != MathEntityType.dot) {
|
||||
sb.append("*");
|
||||
|
Loading…
Reference in New Issue
Block a user