in dict_minimize/numpy_api.py [0:0]
def _from_np(X, dtype): Xt = np.asarray(X, dtype=dtype) return Xt