Commit f2f83fbf authored by Alexis  CRISCUOLO's avatar Alexis CRISCUOLO
Browse files

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

parent 12ae60bd
......@@ -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;
......
Supports Markdown
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