num::debug::check_finite¶
Defined in header <core/debug.hpp>
template <typename T>
void check_finite(const T *data, idx n, std::string_view label,
std::source_location loc = std::source_location::current());
Verify all values in array are finite (not NaN or Inf)