We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mathnet-numerics/src/Numerics/LinearAlgebra/Solvers/ResidualStopCriterion.cs
Line 198 in d96a65f
The comparision should actually be "less or equal". The following code will throw a NumericalBreakdownException:
NumericalBreakdownException
var A = new DenseMatrix(2, 2, new double[] { 1, 2, 3, 4 }); var b = new DenseVector(2); // zero vector! var x = new DenseVector(2); var iterator = new Iterator<double>(new ResidualStopCriterion<double>(1e-5)); var solver = new BiCgStab(); solver.Solve(A, b, x, iterator, null);
The text was updated successfully, but these errors were encountered:
Thank you!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
mathnet-numerics/src/Numerics/LinearAlgebra/Solvers/ResidualStopCriterion.cs
Line 198 in d96a65f
The comparision should actually be "less or equal". The following code will throw a
NumericalBreakdownException
:The text was updated successfully, but these errors were encountered: