fixed bug introduced the Ila's last change

release/4.3a0
Kai Ni 2010-07-07 23:33:53 +00:00
parent e9a2158f5b
commit e675031d92
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ void householder(Matrix &A) {
memset(A.data().begin(), 0, m*n*sizeof(double));
for(int j=0; j<n; j++, k0+=m) {
k = k0;
j0 = j+1>m?j+1:m;
j0 = j+1<m?j+1:m;
for(int i=0; i<j0; i++, k++)
A(i,j) = a[k];
}