From 6c031cbf7234cd5e58a09a984f21b938a30feafe Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 19 Mar 2019 06:26:59 +0100 Subject: logic/pipeline: kill NO_NAN_CHECK --- logic/pipeline.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'logic/pipeline.cpp') 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 static inline bool is_nan(const dmat& 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) -- cgit v1.2.3