[Pythonmac-SIG] python2.4 crashes (bus error)
Piet van Oostrum
piet at cs.uu.nl
Tue Oct 25 11:35:10 CEST 2005
>>>>> Chris Fonnesbeck <fonnesbeck at gmail.com> (CF) wrote:
>CF> # Loop over models
>CF> for model in models:
...
>CF> # Initialize sampler
>CF> sampler = models[model](county)
Maybe this has nothing to do with your crash, but I saw something strange
in your code: model is an element of models, not an index. So unless you
have something special, that code might not be what is intended.
If it goes through a Fortran thing it may cause an out of bounds error.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Pythonmac-SIG
mailing list