diff --git a/src/transpiler/maxima-transpiler.js b/src/transpiler/maxima-transpiler.js index 12c5d81..e5a697a 100644 --- a/src/transpiler/maxima-transpiler.js +++ b/src/transpiler/maxima-transpiler.js @@ -379,7 +379,6 @@ export function transpiler(parsedLatex) { if (parsedLatex[index + 1].type === 'group') { expression += transpiler(parsedLatex[index + 1].value); - index++; } else if (parsedLatex[index + 1].type === 'function') { let {expressionLength} = getExpressionLength(parsedLatex.slice((index + 2)), ['function'], ['+', '-', '+-']); @@ -608,4 +607,4 @@ export function transpiler(parsedLatex) { } //TODO FIX, possibly remove return transpiledString; -} \ No newline at end of file +}