[EMAIL PROTECTED] wrote:
> Hi All,
>
> With a few changes, I was able to get PyGSL-0.3.numpy_test to build
> with numpy-1.0rc1 on gentoo linux x86.
>
> - (for gentoo users) I did not use the numpy in the portage tree, but
> installed from source.
>
> - I linked the numpy include to be in the same place as Numeric+numarray:
> ln -s /usr/lib/python2.4/site-packages/numpy/core/include/numpy
> /usr/include/python2.4
>
> - I made some small changes to a block_helpers_numpy.ic:
>
> * intp on line 5 to int
> * CONTIGUOUS -> NPY_CONTIGUOUS
> * ALIGNED -> NPY_ALIGNED
> * WRITABLE -> NPY_WRITABLE, etc.
>
> - similar changes for block_helpers.c
>
>
Thanks for the information. Should be fixed in the CVS version.
I think they changed that from version 0.96 to 0.98
As soons as a 1.0 is out a new release should be made. If curious you
could also try to compile the CVS version. The code there should be able
to cope with arrays with a stride, which is not a pure integer multiple
of the basis type. I think such problems can araise when using the more
elaborate features of numpy, but I never encountered that particular
problem my self.
Sincerely yours
Pierre
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss