aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-08-01 11:35:23 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-08-01 11:35:23 +0200
commit390d6599baf0c3da1cbf924d8852ee8ade16ec67 (patch)
tree658abebb586c284cdd27e7f16c8bd34b3e6a5445 /Eigen/src
parente88817cc513278c82f7b8ca2b4752e43876ed29d (diff)
Add missing .noalias()
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/SparseLU/SparseLU_snode_bmod.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SparseLU/SparseLU_snode_bmod.h b/Eigen/src/SparseLU/SparseLU_snode_bmod.h
index fc8042f52..d087d1073 100644
--- a/Eigen/src/SparseLU/SparseLU_snode_bmod.h
+++ b/Eigen/src/SparseLU/SparseLU_snode_bmod.h
@@ -24,7 +24,7 @@
/*
- * NOTE: This file is the modified version of dsnode_bmod.c file in SuperLU
+ * NOTE: This file is the modified version of [s,d,c,z]snode_bmod.c file in SuperLU
* -- SuperLU routine (version 3.0) --
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
@@ -81,7 +81,7 @@ int LU_snode_bmod (const int jcol, const int fsupc, ScalarVector& dense, LU_Glob
// Update the trailing part of the column jcol U(jcol:jcol+nrow, jcol) using L(jcol:jcol+nrow, fsupc:jcol) and U(fsupc:jcol)
new (&A) Map<Matrix<Scalar,Dynamic,Dynamic>,0,OuterStride<> > ( &(lusup.data()[luptr+nsupc]), nrow, nsupc, OuterStride<>(nsupr) );
VectorBlock<ScalarVector> l(lusup, ufirst+nsupc, nrow);
- l = l - A * u;
+ l.noalias() -= A * u;
}
return 0;
}