From e529bc9cc1e23a748fb345bc25428001db6adb53 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Tue, 10 Jul 2012 19:18:50 +0200 Subject: [PATCH] correct bug when applying column permutation --- Eigen/src/SparseLU/SparseLU.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/SparseLU/SparseLU.h b/Eigen/src/SparseLU/SparseLU.h index 3bd85930c..db1b8a5bb 100644 --- a/Eigen/src/SparseLU/SparseLU.h +++ b/Eigen/src/SparseLU/SparseLU.h @@ -244,7 +244,7 @@ class SparseLU } // End For U-solve // Permute back the solution - X = m_perm_c * X; + X = m_perm_c.inverse() * X; return true; }