mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
OperatorNode: remove unnecessary elseif
This commit is contained in:
parent
bbe22a9055
commit
183d15fcfe
@ -166,10 +166,7 @@ OperatorNode.prototype.toTex = function() {
|
||||
}
|
||||
|
||||
if (rp instanceof OperatorNode) {
|
||||
if (rp.op === '+' || rp.op === '-') {
|
||||
rhb = true;
|
||||
}
|
||||
else if (rp.op === '*') {
|
||||
if (rp.op === '+' || rp.op === '-' || rp.op === '*') {
|
||||
rhb = true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user