On 10/25/05, Piet van Oostrum <[EMAIL PROTECTED]> wrote:
> >>>>> Chris Fonnesbeck <[EMAIL PROTECTED]> (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.
>
Actually, models is a dictionary, so the iterator returns the keys.

Fixed the problem; it was f2py related. Sorry to bother everyone.

--
Chris Fonnesbeck
Atlanta, GA
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to