asc-community/AngouriMath

Incorrect work of solving a system of equations

alex0alex0 opened this issue · 5 comments

The version I use-AngouriMath 1.3
If in the example of solving the system of equations

var system = Equations(
"x2 + y",
"y - x - 3"
);
Console.WriteLine(system.Solve("x", "y"));

expression "x2 + y" replace with "(x2 + y) / 2"
an error occurs

Thanks.

...or any expression with brackets.

@alex0alex0 thanks for the reporting! Seems like Solve returns null on such a simple equation.

...or any expression with brackets.

Can you give more examples, please?

Hope it will be fixed today

image

Ok so, the example from the issue fixed. See here how you can get the latest version of AngouriMath (from the master branch. It's pushed to myget feed).

Let me know if there are other related examples

Thank you. I can try in a couple of days.