aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseLU/SparseLU.h
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-07-10 19:18:50 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-07-10 19:18:50 +0200
commite529bc9cc1e23a748fb345bc25428001db6adb53 (patch)
tree2636d8960b9b067cb90e4ce49139801117f8cbe6 /Eigen/src/SparseLU/SparseLU.h
parentde2544cc9bb9955d1ca9da50ed7c83a8a0856adf (diff)
correct bug when applying column permutation
Diffstat (limited to 'Eigen/src/SparseLU/SparseLU.h')
-rw-r--r--Eigen/src/SparseLU/SparseLU.h2
1 files changed, 1 insertions, 1 deletions
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;
}