You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But using unsized types makes numpy interfacing code irritating specifically as sizeof(long) is different on Windows and Linux. Correct solution would be using uint32_t etc. These would then need to be used here:
These are generated here:
https://github.com/genn-team/genn/blob/master/generate_swig_interfaces.py#L287-L292
But using unsized types makes numpy interfacing code irritating specifically as
sizeof(long)
is different on Windows and Linux. Correct solution would be usinguint32_t
etc. These would then need to be used here:https://github.com/genn-team/genn/blob/master/pygenn/genn_model.py#L156-L172
The text was updated successfully, but these errors were encountered: