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

Support long vectors #55

Merged
merged 4 commits into from May 27, 2018
Merged

Support long vectors #55

merged 4 commits into from May 27, 2018

Conversation

@rstub
Copy link
Contributor

@rstub rstub commented May 25, 2018

I have not tried to convert the two test cases from the issue into unit tests due to memory considerations.
(fixes #54)

rstub added 3 commits May 25, 2018
There is one remaining use of Rf_length where the dimensions are
checked. Long vectors support is not needed there.
The individual indices for matrices in R are of type int, but the
size is potentially larger than that. R_xlen_t is used for the product
of the number of ros and columns.
@rstub rstub changed the title Support long vectors (fixes #54) Support long vectors May 25, 2018
Copy link
Member

@eddelbuettel eddelbuettel left a comment

Looks good at a first glance!

@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented May 27, 2018

No regression in a reverse depends check, so merging. Thanks for the PR.

@eddelbuettel eddelbuettel merged commit 70d14fc into RcppCore:master May 27, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
eddelbuettel added a commit that referenced this pull request May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.