Discussion:
[Pyublas] add bool converter
Neal Becker
2011-02-09 15:55:20 UTC
Permalink
Works for me:

diff --git a/src/wrapper/converters.cpp b/src/wrapper/converters.cpp
index eea9d2a..c6d0466 100644
--- a/src/wrapper/converters.cpp
+++ b/src/wrapper/converters.cpp
@@ -457,6 +457,7 @@ namespace

void pyublas_expose_converters()
{
+ expose_converters<bool>();
expose_converters<npy_byte>();
expose_converters<npy_ubyte>();
expose_converters<npy_short>();
Andreas Kloeckner
2011-02-10 00:28:53 UTC
Permalink
j#part sign=pgpmime>
Post by Neal Becker
+ expose_converters<bool>();
Ok, why not. We'll see if anything breaks.

Andreas

Loading...