diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-03 12:26:50 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-03 12:26:50 +0200 |
commit | adaa03cf0247b065e6b3863cf16ad88ee24f5169 (patch) | |
tree | 82ee685bc24872d233965b0dbee1c58f0bc61d7e /lib/automata.py | |
parent | 2b9aa06f7ca63eb58a4fe9abde9880fada1773e0 (diff) |
AnalyticFunction: Remove _ prefix from public attributes
Diffstat (limited to 'lib/automata.py')
-rwxr-xr-x | lib/automata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/automata.py b/lib/automata.py index 69b3969..ebe1871 100755 --- a/lib/automata.py +++ b/lib/automata.py @@ -103,7 +103,7 @@ class PTAAttribute: def __repr__(self): if self.function is not None: return "PTAATtribute<{:.0f}, {}>".format( - self.value, self.function._model_str + self.value, self.function.model_function ) return "PTAATtribute<{:.0f}, None>".format(self.value) @@ -137,8 +137,8 @@ class PTAAttribute: } if self.function: ret["function"] = { - "raw": self.function._model_str, - "regression_args": list(self.function._regression_args), + "raw": self.function.model_function, + "regression_args": list(self.function.model_args), } ret["function_error"] = self.function_error return ret |