[SciPy-user] newcore arrayobject.h

Christian Kristukat ckkart at hoc.net
Tue Nov 1 03:19:12 CST 2005


Robert Kern wrote:
> Christian Kristukat wrote:
> 
>>Hi,
>>I remeber there was a discussion about where to put the scipy header files. It
>>seems that at the current place weave.inline (from newcore) is not able to find
>>them:
> 
> 
> weave never got properly updated to use scipy.distutils instead of
> scipy_distutils. Everything should just work when using scipy.distutils.
> I've made these changes in the latest SVN; there are surely other
> problems with weave, but please try this and see if it works.
> 

Thanks. numarray.h is found but now a new problem showed up:

/home/ck/.python23_compiled/sc_90c028da8eb690aebc73d1ab952ee6744.cpp: In
function `PyObject* compiled_func(PyObject*, PyObject*)':
/home/ck/.python23_compiled/sc_90c028da8eb690aebc73d1ab952ee6744.cpp:823: error:
ISO C++ says that `typename blitz::SliceInfo<P_numtype, T1, T2,
blitz::nilArraySection, blitz::nilArraySection, blitz::nilArraySection,
blitz::nilArraySection, blitz::nilArraySection, blitz::nilArraySection,
blitz::nilArraySection, blitz::nilArraySection, blitz::nilArraySection>::T_slice
blitz::Array<T, N>::operator()(T1, T2) const [with T1 = long int, T2 = int,
P_numtype = double, int N_rank = 2]' and `P_numtype& __restrict blitz::Array<T,
N>::operator()(int, int) [with P_numtype = double, int N_rank = 2]' are
ambiguous even though the worst conversion for the former is better than the
worst conversion for
the latter
/home/ck/.python23_compiled/sc_90c028da8eb690aebc73d1ab952ee6744.cpp:823: error:
cannot convert `blitz::Array<double, 0>' to `double' for argument `2' to `double
dist(double, double, int)'

Christian



More information about the SciPy-user mailing list