From b6f04a2dd4d68fe1858524709813a5df5b9a085b Mon Sep 17 00:00:00 2001 From: Angelos Mantzaflaris Date: Thu, 1 Dec 2016 21:25:58 +0100 Subject: [PATCH] typo UIntPtr --- Eigen/src/Core/util/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 741f35a0d..67053db62 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -523,7 +523,7 @@ template struct smart_memmove_helper { template struct smart_memmove_helper { static inline void run(const T* start, const T* end, T* target) { - if (IntPtr(target) < IntPtr(start)) + if (UIntPtr(target) < UIntPtr(start)) { std::copy(start, end, target); }