Fix nonnull-compare warning

This commit is contained in:
Christoph Hertzberg 2016-12-15 17:16:56 +01:00
parent 1324ffef2f
commit 642dddcce2

View File

@ -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)