Skip to content

Commit

Permalink
math::inf -> datum::inf
Browse files Browse the repository at this point in the history
  • Loading branch information
Fradenti committed May 13, 2024
1 parent 4bdc228 commit 9351df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/funs_cam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<<"*";
Expand Down

0 comments on commit 9351df7

Please sign in to comment.