[SciPy-user] using with with blitz: errors
Fernando.Perez at colorado.edu
Sat Dec 31 00:58:05 CST 2005
Evan Monroig wrote:
> I am trying to use weave to speed up my code with inline c++ code, but
> I can't find any working sample.
> I found a very simple one  to return the trace of a matrix, but
> I can't find how to incorporate the c++ code. I attached the compile
> errors. I also tried to remove the "type_converters" parameter in inline
> and change the array parentheses () into brackets , then it compiles
> but gives wrong results...
> I am running on Ubuntu with
> blitz++=1:0.8-4 (just in case)
> gcc version is 4.0.2
This is your problem: only blitz 0.9 compiles with gcc4. You need to download
the newer blitz, and put it by hand in the
> Any ideas?
>  http://amath.colorado.edu/faculty/fperez/python/weave_examples.html
More information about the SciPy-user