diff --git a/debug.cpp b/debug.cpp index ac408004..a5511f1a 100644 --- a/debug.cpp +++ b/debug.cpp @@ -101,3 +101,12 @@ debug_wait [[gnu::constructor]] (void) await_debugger (); } } + + +/////////////////////////////////////////////////////////////////////////////// +template <> +bool +util::debug::validator::is_valid (const float &val) noexcept +{ + return !std::isnan (val); +}