mirror of
https://github.com/vale981/stocproc
synced 2025-03-05 09:41:42 -05:00
fix ft_ref_n_new not being an array
This commit is contained in:
parent
7e6da5b162
commit
6687f5aa07
2 changed files with 2 additions and 2 deletions
|
@ -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 <richard.hartmann@tu-dresden.de>"]
|
||||
license = "BSD (3 clause)"
|
||||
classifiers = [
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue