From 7bdaa60f6c9ea6e86e87639597811c546479bb93 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Fri, 8 Jun 2012 17:23:38 +0200 Subject: triangular solve... almost finished --- Eigen/src/SparseLU/SparseLU_Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/SparseLU/SparseLU_Memory.h') diff --git a/Eigen/src/SparseLU/SparseLU_Memory.h b/Eigen/src/SparseLU/SparseLU_Memory.h index a92c3bcc4..a981b5436 100644 --- a/Eigen/src/SparseLU/SparseLU_Memory.h +++ b/Eigen/src/SparseLU/SparseLU_Memory.h @@ -76,7 +76,7 @@ int SparseLU::LUMemInit(int m, int n, int annz, ScalarVector& work, IndexVector& Index& nzlmax = Glu.nzlmax; Index& nzumax = Glu.nzumax; Index& nzlumax = Glu.nzlumax; - nzumax = nzlumax = m_fillratio * annz; // estimated number of nonzeros in U + nzumax = nzlumax = fillratio * annz; // estimated number of nonzeros in U nzlmax = std::max(1, m_fill_ratio/4.) * annz; // estimated nnz in L factor // Return the estimated size to the user if necessary -- cgit v1.2.3