emit warnings when attempting to detect non-finite values in fast math mode

This commit is contained in:
conrad
2023-06-12 16:51:16 +10:00
parent ad7a92d61f
commit b17a37e7c8
+2
View File
@@ -1485,6 +1485,8 @@ subview<eT>::is_finite() const
{
arma_extra_debug_sigprint();
if(arma_config::fast_math) { arma_debug_warn_level(2, "is_finite(): detection of non-finite values is not reliable in fast math mode"); }
const uword local_n_rows = n_rows;
const uword local_n_cols = n_cols;