davidedc / Algebrite

Computer Algebra System in Javascript (Typescript)
http://algebrite.org
MIT License
966 stars 59 forks source link

Nested dot() with at least 3 arguments returns "Stop: cons?" #105

Open FredericMrozinski opened 4 years ago

FredericMrozinski commented 4 years ago

Algebrite.run('dot(1,dot(2,3,4))') yields to "Stop: cons?" while e.g. Algebrite.run('dot(1,2,3,4)')as well as Algebrite.run('dot(1,dot(2,3))') works fine. So having a "dot" with at least 3 arguments inside another "dot" seems to cause returning the error.