diff --git a/include/armadillo_bits/glue_hist_meat.hpp b/include/armadillo_bits/glue_hist_meat.hpp index 9984f9bd..37da12e6 100644 --- a/include/armadillo_bits/glue_hist_meat.hpp +++ b/include/armadillo_bits/glue_hist_meat.hpp @@ -109,7 +109,7 @@ glue_hist::apply_noalias(Mat& out, const Mat& X, const Mat& C, co { const eT val = X_mem[i]; - if(is_finite(val)) + if(arma_isfinite(val)) { eT opt_dist = (val >= center_0) ? (val - center_0) : (center_0 - val); uword opt_index = 0;