emit warnings when attempting to detect non-finite values in fast math mode
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user