From 6f5c45ceff59b1167198755856f4cf32aa642312 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 15 Dec 2010 15:19:51 +0100 Subject: Fixed ctor from const raw data for Matrices and added the missing implementation for Arrays. Fixed a warning regarding the conversion from int to bool in MapBase. --- Eigen/src/Core/MapBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/MapBase.h') diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index 42e36903d..b5bd7f964 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -56,7 +56,7 @@ template class MapBase typedef typename internal::packet_traits::type PacketScalar; typedef typename NumTraits::Real RealScalar; typedef typename internal::conditional< - int(internal::traits::Flags) & LvalueBit, + bool(int(internal::traits::Flags) & LvalueBit), Scalar *, const Scalar *>::type PointerType; -- cgit v1.2.3