[SciPy-dev] Segmentation fault triggered by optimize/lbfgsb.py
schofield at ftw.at
Thu Oct 27 11:55:25 CDT 2005
Travis Oliphant wrote:
>Ed Schofield wrote:
>>The code in optimize/lbfgsb.py raises an exception and then dumps core ...
>One part of the problem has been fixed in new scipy core.
I've unearthed some more problems with rank-0 arrays.
>>> import scipy # base version '0.4.3.1366'
>>> f = scipy.array(0.0, scipy.float64)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
IndexError: 0-d arrays can't be indexed
>>> f = 10
>>> f[-1] = 10
I've committed a patch that fixes the first bug; now assigning to f
throws an IndexError like reading from f does. The second bug is
Is there a way to build scipy with debugging symbols using distutils?
If not, how would you recommend doing this?
More information about the Scipy-dev