hyperspy/hyperspy — pull request #327 by francisco-dlp (2014-06-12 14:38:32+00:00)
Title: Fix fancy indexing that was broken when using e.g. np.float32 

The bug was caused by the fact that isinstance(np.float32(3), float) is False.

Tests added.