Skip to content

Switch from deprecated arma::is_finite to std::isfinite#19

Merged
Nowosad merged 1 commit intoNowosad:masterfrom
eddelbuettel:master
Sep 25, 2025
Merged

Switch from deprecated arma::is_finite to std::isfinite#19
Nowosad merged 1 commit intoNowosad:masterfrom
eddelbuettel:master

Conversation

@eddelbuettel
Copy link
Contributor

Armadillo 15.0.* now makes C++14 the minimum compilation standard, which also means I can no-longer add the suppression of deprecation warnings (which used a macro before and now use a C++14 or later attribute). For most packages, adapting to it can be very simple, and yours is one of them -- in fact it is just two statements. In the patch below we simply update this as now required by Armadillo 15.0.x.

Please see issues #475 and below at the RcppArmadillo GitHub repo for context, and notably #491 for this second wave of PRs and patches (following one for moving away from C++11, something your package does not need). It would be terrific if you could make an upload to CRAN 'soon' to remove the deprecation warning. Please do not hesitate to reach out if I can assist in any way or clarify matters.

@Nowosad
Copy link
Owner

Nowosad commented Sep 25, 2025

Thank you @eddelbuettel

@Nowosad Nowosad merged commit 4667833 into Nowosad:master Sep 25, 2025
@Nowosad
Copy link
Owner

Nowosad commented Sep 25, 2025

(Submitted to CRAN)

@eddelbuettel
Copy link
Contributor Author

And there it is:

image

Thanks again for the prompt upload!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants