nk027 opened this issue 2 years ago · 1 comments
Currently, CG estimates that fail to converge lead to an error. It might make sense to change this to a warning, and return the latest guess -- especially if the number of iterations is capped. Happens here:
sanic/src/solve_iterative.cpp
Line 39 in d64bf0b
As of bbf4930, the function throws a warning and returns the latest guess (generally Nan).
Nan