On Tue, Oct 14, 2008 at 2:58 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
>  mask = (PyArrayObject *)PyArray_SimpleNew(1,dimensions,PyArray_INT);
>
> in nxutils.cpp would become
>
>  mask = (PyArrayObject *)PyArray_SimpleNew(1,dimensions, NPY_BOOL);
>
> Can anyone think of anything this would break, or any disadvantages?

This looks better to me too - -I suggest testing it with the lasso
demo which was the example that motivated this code.

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to