mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-21 04:14:26 +08:00
Fix nonnull-compare warning
This commit is contained in:
parent
1324ffef2f
commit
642dddcce2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user