The error is raised by numpy and points towards a type mismatch (which should have raised a deprecation warning before).
Check the dtypes of all inputs and make sure np.random.multivariate_normal gets the expected numpy arrays.