diff options
author | 2015-10-08 16:27:54 +0200 | |
---|---|---|
committer | 2015-10-08 16:27:54 +0200 | |
commit | 412c049ba47eedc45f0943db7094bf5308c681c2 (patch) | |
tree | f5f7cb605fbe5fca2b6b56382035adef2239b8f8 | |
parent | aa6b1aebf373fba262fab7cd833881eac4fed8ef (diff) |
Fix a warning
-rw-r--r-- | test/geo_alignedbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index c883234a8..2bdb4b7f2 100644 --- a/test/geo_alignedbox.cpp +++ b/test/geo_alignedbox.cpp @@ -16,7 +16,7 @@ using namespace std; template<typename T> EIGEN_DONT_INLINE -void kill_extra_precision(T& x) { eigen_assert(&x != 0); } +void kill_extra_precision(T& x) { eigen_assert((void*)(&x) != (void*)0); } template<typename BoxType> void alignedbox(const BoxType& _box) |