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

apply() strips integer64 class #87

Open
MichaelChirico opened this issue Oct 20, 2024 · 0 comments
Open

apply() strips integer64 class #87

MichaelChirico opened this issue Oct 20, 2024 · 0 comments

Comments

@MichaelChirico
Copy link
Collaborator

As seen while working on #38:

A = as.integer64(1:6)
dim(A) = 3:2

apply(A, 1L, sum)
# [1] 2.470328e-323 3.458460e-323 4.446591e-323

After #86, at least the fix is simple (apply integer64 class to the result).

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

No branches or pull requests

1 participant