Skip to content
Snippets Groups Projects
Commit d70470ba authored by laurence's avatar laurence
Browse files

BUG: SVD: for loop had incorrect starting value

parent 43df9307
Branches
Tags
No related merge requests found
......@@ -255,7 +255,7 @@ Foam::SVD::SVD(const scalarRectangularMatrix& A, const scalar minCondition)
{
scalar c = 0.0;
s = 1.0;
for (label i = l-1; i < k+1; i++)
for (label i = l; i < k+1; i++)
{
scalar f = s*rv1[i];
rv1[i] = c*rv1[i];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment