calc_fixed_points should handle inability to solve for FPs gracefully
mjancen opened this issue · comments
mjancen commented
For some systems of ODEs, the algorithm to solve this system symbolically has not yet been implemented in Sympy, and when sympy.solve is run on this system, it raises NotImplementedError. The calc_fixed_points function (which is currently the only function that uses sympy.solve) should be wrapped in a try-block wherever it is run so that the above case can be handled gracefully.
In the case of using calc_fixed_points in the constructor of a SystemOfEquations object, the fixed_points should probably be set to an empty set if the above error occurs.