diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-19 06:26:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-19 06:26:59 +0100 |
commit | 6c031cbf7234cd5e58a09a984f21b938a30feafe (patch) | |
tree | ca557ae75325e6a85fccc1b0ffa7a992d50eee00 /logic | |
parent | ca1b49d0b181b0f7526f7b8d97ae4c24a85654ed (diff) |
logic/pipeline: kill NO_NAN_CHECK
Diffstat (limited to 'logic')
-rw-r--r-- | logic/pipeline.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index 255f63bc..1cd23110 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -198,11 +198,7 @@ double pipeline::map(double pos, Map& axis) return fc.get_value(pos); } -//#define NO_NAN_CHECK //#define DEBUG_TIMINGS - -#ifndef NO_NAN_CHECK - template<int u, int w> static inline bool is_nan(const dmat<u,w>& r) { @@ -250,10 +246,6 @@ bool maybe_nan(const char* text, const char* fun, int line, const xs&... vals) } \ while (false) -#else -# define nan_check(...) (void)(__VA_ARGS__) -#endif - bool pipeline::maybe_enable_center_on_tracking_started() { if (!tracking_started) |