[SciPy-dev] openopt example mmp_1.py
dmitrey
dmitrey.kroshko at scipy.org
Sun Feb 3 09:35:54 EST 2008
Dave has already attached the debug info:
ipdb> type(ind)
<type 'numpy.int32'>
ipdb> type(ind) not in (list, tuple)
True
ipdb> type(ind) in [int, int32, int64]
False
ipdb> int32
<type 'numpy.int32'>
Ok, so now I'll commit the proposed changes.
However, one more problem has appeared: ALGENCAN fails with
StdErr: *** glibc detected *** /usr/bin/python: free(): invalid pointer:
0x00000000008362f0 ***
IIRC I have accepted a proposition of updating glibc from software channel.
D.
Alan G Isaac wrote:
> On Sun, 3 Feb 2008, (UTC) Dave apparently wrote:
>
>> Works with Alan's code
>>
>
>
> Then it appears to be a type checking problem in the original code.
> Just print out type(ind) to check.
>
> Cheers,
> Alan Isaac
>
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
>
>
>
More information about the SciPy-Dev
mailing list