Fix small bug with large consequences

This commit is contained in:
Pavel Krajcevski 2014-03-21 20:26:45 -04:00
parent dcc12eb28a
commit fe69dc9fb5

View File

@ -79,12 +79,12 @@ namespace FasTC {
return numIterations; return numIterations;
} }
VectorBase<T, N> b;
for(int i = 0; i < (N>>1); i++) for(int i = 0; i < (N>>1); i++)
b[i] = 1; b[i] = 1;
b.Normalize(); b.Normalize();
badEigenValue = true; badEigenValue = true;
continue;
} }
// Normalize // Normalize