From 2df2f0cb839e4046601c7214152e32ec45e9a486 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Sat, 2 Mar 2013 19:12:16 +0100 Subject: [PATCH] LA: Sparse complex DoConjugate should not call base.Conjugate --- src/Numerics/LinearAlgebra/Complex/SparseVector.cs | 2 +- src/Numerics/LinearAlgebra/Complex32/SparseVector.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Numerics/LinearAlgebra/Complex/SparseVector.cs b/src/Numerics/LinearAlgebra/Complex/SparseVector.cs index a298ba79..4cb560a9 100644 --- a/src/Numerics/LinearAlgebra/Complex/SparseVector.cs +++ b/src/Numerics/LinearAlgebra/Complex/SparseVector.cs @@ -189,7 +189,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex var targetSparse = target as SparseVector; if (targetSparse == null) { - base.Conjugate(target); + base.DoConjugate(target); return; } diff --git a/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs b/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs index 9803b7cc..0f337cc3 100644 --- a/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs +++ b/src/Numerics/LinearAlgebra/Complex32/SparseVector.cs @@ -189,7 +189,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32 var targetSparse = target as SparseVector; if (targetSparse == null) { - base.Conjugate(target); + base.DoConjugate(target); return; }