Skip to content
Snippets Groups Projects
Commit f2f83fbf authored by Alexis  CRISCUOLO's avatar Alexis CRISCUOLO :black_circle:
Browse files

fixed typo in line 158 of Eigen (thx Julia Kende!)

parent 12ae60bd
No related branches found
No related tags found
No related merge requests found
......@@ -149,13 +149,13 @@ public class Eigen {
V[n_1][i] = V[i][i];
V[i][i] = 1;
i1 = i+1;
if ( (h=d[(i1)]) != 0.0 ) {
if ( (h=d[i1]) != 0.0 ) {
k = i1; while ( --k >= 0 ) d[k] = V[k][i1] / h;
j = i1;
while ( --j >= 0 ) {
g = 0;
k = i1; while ( --k >= 0 ) g += V[k][i1] * V[k][j];
i = i1; while ( --k >= 0 ) V[k][j] -= g * d[k];
k = i1; while ( --k >= 0 ) V[k][j] -= g * d[k];
}
}
k = i1; while ( --k >= 0 ) V[k][i1] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment