jaberg/MonteTheano — pull request #7 by gwtaylor (2011-11-29 15:59:14+00:00)
Title: Explicitly make output from numpy matches output dtype: fix for hyperopt

This fixes hyperopt Issue 58.
It makes the hyperopt tutorial demos work on my 32-bit Ubuntu distribution.

Note on line 102 I have also removed numpy.asarray() - I don't think it is needed when we are indexing numpy.where() with [0].