[Tutor] 2.5 to 2.4 problem with Int
Kent Johnson
kent37 at tds.net
Thu Sep 13 21:36:24 CEST 2007
John wrote:
> The error occurs here:
> area[ix,iy]=gridarea
What is area? Is it a dict or something else? What is gridarea?
Please show more code and the complete traceback.
Kent
>
> The values of nx, ix, iy leading up to the error are:
> 360 0 0
> 360 1 0
> 360 2 0
> 360 3 0
> 360 4 0
> 360 ... ...
> 360 357 9
> 360 358 9
> 360 359 9
> 360 0 10
> OverflowError: long int too large to convert to int
>
> I guess then the problem occurs when iy goes from 9 to 10, but why?? It
> wasn't a problem before and it's not a problem for ix???
>
> Thanks!
More information about the Tutor
mailing list