Skip to content

Commit

Permalink
Fix issue #57
Browse files Browse the repository at this point in the history
  • Loading branch information
andstor committed Jul 13, 2020
1 parent b8e7fa5 commit 9b28a0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transpiler/maxima-transpiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'], ['+', '-', '+-']);
Expand Down Expand Up @@ -608,4 +607,4 @@ export function transpiler(parsedLatex) {
} //TODO FIX, possibly remove

return transpiledString;
}
}

0 comments on commit 9b28a0b

Please sign in to comment.