"Uncaught TypeError: Cannot read property '1' of undefined" on solveEquations
sametaylak opened this issue · 2 comments
sametaylak commented
Hey jiggzson, We have quite a strange bug that happens when we call solveEquations with given array.
nerdamer.solveEquations(["0=discount___plan / (45909438.9 + 0 + discount___plan)", "45909438.9=45909438.9 + 0 + discount___plan"])
output
Uncaught TypeError: Cannot read property '1' of undefined
at Matrix.determinant (nerdamer.core.js:11382)
at Object.solveSystem (Solve.js:725)
at solveSystem (Solve.js:622)
at Function.solve [as solveEquations] (Solve.js:1173)
at <anonymous>:1:10
gunnarmein commented
Here is an easier repro:
nerdamer.solveEquations(["a=1"])
jiggzson commented
@sametaylak, thanks. I'll looking into it. @gunnarmein, thanks for the easier repro.