From 390d6599baf0c3da1cbf924d8852ee8ade16ec67 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Wed, 1 Aug 2012 11:35:23 +0200 Subject: [PATCH] Add missing .noalias() --- Eigen/src/SparseLU/SparseLU_snode_bmod.h | 4 ++-- 1 file 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,0,OuterStride<> > ( &(lusup.data()[luptr+nsupc]), nrow, nsupc, OuterStride<>(nsupr) ); VectorBlock l(lusup, ufirst+nsupc, nrow); - l = l - A * u; + l.noalias() -= A * u; } return 0; }