From f75419c711b3df73ca1e9b5af94db28d437a0698 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 12 Jun 2013 17:56:15 +0200 Subject: Add missing changes. --- blas/PackedSelfadjointProduct.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'blas/PackedSelfadjointProduct.h') diff --git a/blas/PackedSelfadjointProduct.h b/blas/PackedSelfadjointProduct.h index f7c9b9341..07327a246 100644 --- a/blas/PackedSelfadjointProduct.h +++ b/blas/PackedSelfadjointProduct.h @@ -30,10 +30,9 @@ struct selfadjoint_packed_rank1_update >(mat, UpLo==Lower ? size-i : (i+1)) - += alpha * cj(vec[i]) * ConjRhsType(OtherMap(vec+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1))); + Map >(mat, UpLo==Lower ? size-i : (i+1)) += alpha * cj(vec[i]) * ConjRhsType(OtherMap(vec+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1))); //FIXME This should be handled outside. - mat[UpLo==Lower ? 0 : i] = real(mat[UpLo==Lower ? 0 : i]); + mat[UpLo==Lower ? 0 : i] = numext::real(mat[UpLo==Lower ? 0 : i]); mat += UpLo==Lower ? size-i : (i+1); } } -- cgit v1.2.3