KosukeHamazaki / RAINBOWR

Reliable Association INference By Optimizing Weights with R (R package for SNP-set GWAS and multi-kernel mixed model)
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1007663
Other
22 stars 6 forks source link

Update indexing variable type for Eigen 3.4 compatibility #9

Closed andrjohns closed 6 months ago

andrjohns commented 6 months ago

This PR updates your package's C++ to use an integer instead of a double for storing indexing Eigen types, otherwise your package will break with the next RcppEigen release (Eigen 3.4 doesn't allow using doubles for indexing).

Let me know if you have any questions, thanks!