google / mathsteps

Step by step math solutions for everyone
https://socratic.org
Apache License 2.0
2.12k stars 274 forks source link

fix for nested functions #196

Closed ldworkin closed 7 years ago

ldworkin commented 7 years ago

Previously, we had an issue with things like nthRoot(x)(1+2). This would be parsed incorrectly, whereas nthRoot(x) * (1+2) would be fine. They should really be the same. This fix simply converts the former to the latter.

See broken example:

img_0635