On Wed, 26 Feb 2014 09:48:01 -0800
Eric89GXL <notifications@github.com> wrote:

> >          pass  # Yeah
> > -    elif data.dtype == np.float32 and FLOAT32_SUPPORT:
> > +    elif data.dtype.name == "float32" and FLOAT32_SUPPORT:
> 
> Just curious, why is this preferred? Is it more robust in some way?

Yep!
take the one with float16: the first one just raise:
AttributeError: 'module' object has no attribute 'float16'

on a debian6 computer.
-- 
Jérôme Kieffer <jerome.kieffer@terre-adelie.org>