diff --git a/pyproject.toml b/pyproject.toml index 4f29747..140735d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] description = "Generate continuous time stationary stochastic processes from a given auto correlation function." name = "stocproc" -version = "1.0.4" +version = "1.0.5" authors = ["Richard Hartmann "] license = "BSD (3 clause)" classifiers = [ diff --git a/stocproc/method_ft.py b/stocproc/method_ft.py index d9dc7c6..f93059a 100644 --- a/stocproc/method_ft.py +++ b/stocproc/method_ft.py @@ -533,7 +533,7 @@ def get_dt_for_accurate_interpolation(t_max, tol, ft_ref, diff_method=_absDiff): pool = Pool() try: - ft_ref_n_new = pool.map(ft_ref, tau[1::2]) + ft_ref_n_new = np.asarray(pool.map(ft_ref, tau[1::2])) finally: pool.close()