4 ms·
for some reason I get "([True,True],fromList [('x',1.7500000780766642),('y',-0.24999969839074443)])" when i run print $ show $ solveSystem [ ((
by platz 11y ago
for some reason I get
"([True,True],fromList [('x',1.7500000780766642),('y',-0.24999969839074443)])"
when i run
print $ show $ solveSystem
[ ((2 * x) + (3 * y)) * (x - y) === 2
, (3 * x) + y === 5 ]
$ Map.fromList [('x', 0),('y', 0)]
which doesn't match the suggested solutions.. using this code: https://gist.github.com/80e982016a267b1f2e48 https://gist.github.com/80e982016a267b1f2e48
* edit - lowering the precedence of === fixed it
- mkeeter 11y agoThanks, I've updated the page with a fix.