-
Notifications
You must be signed in to change notification settings - Fork 3
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
177: use num_elements
instead of size
#178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted in the issue I am quite unclear why this didn't work for you in the first place given it works on CI and in epidist. @athowes did you have some m3 issues and did it look the same? Any comment on this
As this is causing issues regardless of why I am happy to change but can you first update the news file and add yourself as a contributor in the description
Here is the error I had: epinowcast/epidist#221 (comment). It was to do with |
Yes, I think that was the same error - the issue being the failing implicit conversion from size_t to int, see also stan-dev/math#3085 size_t is platform specific so I think this might explain why it fails only on some systems |
I think there isn't a point to forcing people to use a different compiler flag if this is all Mn MacBooks which it sounds like it is so this change to the code makes sense if it works for both of you (and as it works everywhere the old version worked). |
This may also be fixed as of yesterday |
My preference would be to keep using |
turns out I'm there already |
😱 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I still get (almost) the same error with the latest stan math library -- |
This reverts commit 2cfa802.
Description
This PR closes #177 by replacing
size
withnum_elements
.Checklist