Discussion:
[Pyublas] Why no NPY_UBYTE?
Neal Becker
2009-08-02 12:20:15 UTC
Permalink
I see no support for NPY_UBYTE. In fact the line is commented in numpy.hpp:
// NPY_TYPES get_typenum(npy_ubyte) { return NPY_UBYTE; }

Why not? (I need it). Any reason not to just remove the comment?
Andreas Klöckner
2009-08-09 00:53:16 UTC
Permalink
Post by Neal Becker
I see no support for NPY_UBYTE. In fact the line is commented in
numpy.hpp: // NPY_TYPES get_typenum(npy_ubyte) { return NPY_UBYTE; }
Why not? (I need it). Any reason not to just remove the comment?
This isn't the case any more in recent git--and hasn't been for a while,
actually. The problem was that NPY_BOOL is equal to NPY_UCHAR, so the overload
didn't work.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pyublas/attachments/20090809/0178339d/attachment.pgp>
Loading...