Fix nonnull-compare warning

(grafted from 642dddcce29269f266d35e34d34ee83d99a7c116
)
This commit is contained in:
Christoph Hertzberg 2016-12-15 17:16:56 +01:00
parent 210d510a90
commit 65a6d41510

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)