Removed compile warning by initializing imax to 0 in Decompose().

This commit is contained in:
Federico Ponchio 2008-08-27 14:33:20 +00:00
parent d49e84fb9c
commit 12d5a0e322
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ template <class T> bool LinearSolve<T>::Decompose() {
scaling[i] = (T)1.0 / largest;
}
int imax;
int imax = 0;
for(j = 0; j < 4; j++) {
for(i = 0; i < j; i++) {
T sum = this->ElementAt(i,j);