Hi,
I have come across something which I cannot explain. Here is minimal code to reproduce it:
var a = nerdamer('2x-y');
var b = nerdamer('2x-y+4');
b.subtract(a).toTex() gives 4 but a.subtract(b).toTex() returns 0 and not -4. Is there another way to get the difference between two terms? I am working with the dev branch btw.
Thanks!
Hi, I have come across something which I cannot explain. Here is minimal code to reproduce it: var a = nerdamer('2x-y'); var b = nerdamer('2x-y+4'); b.subtract(a).toTex() gives 4 but a.subtract(b).toTex() returns 0 and not -4. Is there another way to get the difference between two terms? I am working with the dev branch btw. Thanks!