qutip/qutip — pull request #204 by jrjohansson (2014-07-29 05:58:07+00:00)
Title: Fix mcsolve average state

Bug in mcsolve: np.mean does not work with sparse matrices. Use np.sum + normalization instead.