May 30, 2013
9:26 p.m.
<at> Pauli, changing the order of the INSTANTIATE_ALL definition by
Blake Griffith <blake.a.griffith <at> gmail.com> writes: putting npy_bool_wrapper first actually did fix things :) I'm not sure why order matters here, yet. That's a bit surprising, looking at the SWIG output shows that it tries pyarray_cancastsafely for each type in template order, so it sort of makes sense. I'm not sure if relying on this behavior is intended in swig, or if typemaps are supposed to match exactly.