[SciPy-dev] weave - type_factories change?

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Mar 6 21:57:01 CST 2002


>>>>> "FP" == Fernando Perez <fperez at pizero.colorado.edu> writes:

    FP> Now the type_factories call doesn't work, and
    FP> blitz_type_factories doesn't seem to exist in blitz anymore. I
    FP> couldn't find what the new syntax is, could someone enlighten
    FP> me please?

just add:

from scipy.weave import converters

And call inline like so:

return weave.inline(code,['mat','nrow','ncol'],
                        type_converters = converters.blitz)

prabhu



More information about the Scipy-dev mailing list