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

Ambiguous arithmetic operators for NumericVector op int on 32 bit #475

Closed
dcdillon opened this issue May 14, 2016 · 1 comment
Closed

Ambiguous arithmetic operators for NumericVector op int on 32 bit #475

dcdillon opened this issue May 14, 2016 · 1 comment

Comments

@dcdillon
Copy link
Contributor

@dcdillon dcdillon commented May 14, 2016

The arithmetic operators involving both NumericVector and NumericMatrix and int were causing R CMD check failures on 32 bit. Actually, the same error can be exposed on 64 bit by replacing int with long (specifically the integral type that is the same size as a pointer on the given architecture).

I have come up with a fix for this and will PR in a few minutes. This will need some extra eyes (@eddelbuettel, @thirdwing I'm looking at you) and probably a revdep check.

@eddelbuettel
Copy link
Member

@eddelbuettel eddelbuettel commented May 16, 2016

Done in #476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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