Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change internal storage type to Rcpp::XPtr<random_64bit_generator> #70

Merged
merged 7 commits into from Oct 7, 2023

Conversation

rstub
Copy link
Member

@rstub rstub commented Oct 3, 2023

This simplifies exchange of the RNG via R's C API.

fixes #63

this also includes the signature change for the sampling methods described in #64

This simplifies exchange of the RNGvia R's C API.
Don't use Rcpp:Vector<> classes internally. Instead, the class to be used needs to be specified explicitly. This allows usage of std::vector etc., that do not use R's memory allocation.
@rstub
Copy link
Member Author

rstub commented Oct 7, 2023

Fixes #26

@rstub rstub merged commit cd8bfa8 into master Oct 7, 2023
7 checks passed
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.

Rethink storage of the RNG
1 participant