aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_alignedbox.cpp
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2016-12-15 17:16:56 +0100
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2016-12-15 17:16:56 +0100
commit642dddcce29269f266d35e34d34ee83d99a7c116 (patch)
treee6cb44936264f96355c7a9dce0fdbfab4b7542d1 /test/geo_alignedbox.cpp
parent1324ffef2f577bf5a56af964ff1c4d995632ca46 (diff)
Fix nonnull-compare warning
Diffstat (limited to 'test/geo_alignedbox.cpp')
-rw-r--r--test/geo_alignedbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp
index d2339a651..eca292f4c 100644
--- a/test/geo_alignedbox.cpp
+++ b/test/geo_alignedbox.cpp
@@ -15,8 +15,9 @@
#include<iostream>
using namespace std;
+// TODO not sure if this is actually still necessary anywhere ...
template<typename T> EIGEN_DONT_INLINE
-void kill_extra_precision(T& x) { eigen_assert((void*)(&x) != (void*)0); }
+void kill_extra_precision(T& ) { }
template<typename BoxType> void alignedbox(const BoxType& _box)