bugfix: implement __bfkey__

This commit is contained in:
Valentin Boettcher 2022-01-18 10:41:10 +01:00
parent 2c806e3bdb
commit 88b0f979a5
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
[tool.poetry]
description = "Generate continuous time stationary stochastic processes from a given auto correlation function."
name = "stocproc"
version = "1.0.2"
version = "1.0.3"
authors = ["Richard Hartmann <richard.hartmann@tu-dresden.de>"]
license = "BSD (3 clause)"
classifiers = [

View file

@ -114,6 +114,9 @@ class StocProc(abc.ABC):
)
)
def __bfkey__(self):
return self.key
def __call__(self, t=None):
r"""Evaluates the stochastic process.
@ -367,9 +370,6 @@ class StocProc_KLE(StocProc):
# """
# return self.key
def __bfkey__(self):
return self.key
def __getstate__(self):
return (
self.sqrt_lambda_ui_fine,