From: Arthur S. <ajs...@op...> - 2006-10-09 16:53:20
|
On Sat, 2006-10-07 at 20:37 -0400, Arthur Siegel wrote: > Am I correct that num_util.h and num_util.cpp are those > of Phil Austin @ Univ of British Columbia? > > http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/ > > If so, there is a new version targeting Numpy, as per the above link. > > Except that I can't even get it to compile and run the tests correctly. > > Choking on `intp` types and other places. > > Grrrr... > > Numpy is moving fast toward a 1.0 release and I have to wonder whether > the num_util code is incompatible with the latest Numpy. > > Or else I am doing something stupid. Turns out my instincts were correct, and I was only stupid to the extent that it took be longer than it should have (had I had more background, at least) to realize this. Numpy's include files were in fact changed since Phil released his num_util code for numpy. Following those changes through to the num_util code I now get that code to compile. I guess my strategy is to start from the new num_utils and do a bit of monkey-see, monkey-do, following what changes Jonathan had made to the orignal, making the analogous on the new, and see if I can follow things through from there. Lot's of moving parts though, as we also have the boost libraries in play, and any changes that are happening there to deal with numpy and Python2.5. We'll see. Art |