From 9351df74f2923c41049eb1095764267d62505102 Mon Sep 17 00:00:00 2001 From: fradenti Date: Mon, 13 May 2024 13:12:09 +0200 Subject: [PATCH] math::inf -> datum::inf --- src/funs_cam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/funs_cam.cpp b/src/funs_cam.cpp index 17b6129..8fd0e0b 100644 --- a/src/funs_cam.cpp +++ b/src/funs_cam.cpp @@ -254,7 +254,7 @@ arma::vec slicedDP_sample_distr_cluster2(const arma::vec& group, } double tmp = max(probD) ; // sanity check - arma::uvec check = find( (probD) == -arma::math::inf() ); + arma::uvec check = find( (probD) == -arma::datum::inf ); int cne = check.n_elem; if(cne==maxK_iter){ Rcpp::Rcout<<"*";