JGCRI/gcamwrapper

Have some error checking to ensure int size in Python

Closed this issue · 0 comments

It seems numpy is defaulting to 64 bit integers so at the moment I've changed the type of the IntVector to use 64 bit integers but it isn't clear that this would always be the case and we should at the very least double check the dtype and error. Or even better automatically adjust regardless of if numpy hands us a 32 bit int or 64.