0
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-01-18 17:31:19 +01:00

Fix nonnull-compare warning

(grafted from 642dddcce2
)
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)