From 03b9e4e8f943f2c92ea66c1783f2b64aa6c5b4ba Mon Sep 17 00:00:00 2001 From: conrad Date: Mon, 15 Sep 2025 10:19:38 +1000 Subject: [PATCH] use internal function --- include/armadillo_bits/glue_hist_meat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;