pimath 0.0.109 → 0.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pi.js CHANGED
@@ -885,7 +885,7 @@ class LinearSystem {
885
885
  // Add the right hand part of the equation (should be only a number, because it has been reordered)
886
886
  equStr.push(equ.right.tex);
887
887
  // Add the operations if existing
888
- if (operators[i]) {
888
+ if (operators !== undefined && operators[i] !== undefined) {
889
889
  // add extra space at the end of the equation
890
890
  equStr[equStr.length - 1] = equStr[equStr.length - 1] + ' \\phantom{\\quad}';
891
891
  for (let o of operators[i]) {