daijiang / phyr

Functions for phylogenetic analyses
https://daijiang.github.io/phyr/
GNU General Public License v3.0
30 stars 10 forks source link

cor_phylo: fixed bootstrapping, removed warning #80

Closed lucasnell closed 1 year ago

lucasnell commented 1 year ago

Bootstrapping now works, annoying warning from arma::solve no longer occurs.

daijiang commented 1 year ago

Thanks Lucas! Wow, lots of changing lines~~.

lucasnell commented 1 year ago

Most of that was simply replacing the pointers (XPtr<LogLikInfo>) with references (const LogLikInfo&), so fortunately it was largely just finding and replacing.