diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-02-05 18:18:38 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-02-05 18:18:38 +0100 |
commit | 6ad48c5d92e168ccece5fc9c608d2f1fc8a4009d (patch) | |
tree | 28f572157b7cc19f2d53dee759315de0b600232e /Eigen/src/Core/util/BlasUtil.h | |
parent | 4ed87c59c72b28f617908285d99206d8d79ebbe2 (diff) |
fix conjugation in packet_lhs
Diffstat (limited to 'Eigen/src/Core/util/BlasUtil.h')
-rw-r--r-- | Eigen/src/Core/util/BlasUtil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/BlasUtil.h b/Eigen/src/Core/util/BlasUtil.h index 5dd2da049..4879ceae1 100644 --- a/Eigen/src/Core/util/BlasUtil.h +++ b/Eigen/src/Core/util/BlasUtil.h @@ -56,11 +56,15 @@ template<bool Conjugate> struct conj_if; template<> struct conj_if<true> { template<typename T> inline T operator()(const T& x) { return conj(x); } + template<typename T> + inline T pconj(const T& x) { return internal::pconj(x); } }; template<> struct conj_if<false> { template<typename T> inline const T& operator()(const T& x) { return x; } + template<typename T> + inline const T& pconj(const T& x) { return x; } }; template<typename Scalar> struct conj_helper<Scalar,Scalar,false,false> |