summaryrefslogtreecommitdiff
path: root/lib/dfatool.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dfatool.py')
-rwxr-xr-xlib/dfatool.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index e2c0cb8..705902a 100755
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -907,9 +907,10 @@ class EnergyModel:
return model_getter, info_getter
def to_json(self):
+ static_model = self.get_static()
_, param_info = self.get_fitted()
pta = PTA.from_json(self.hwmodel)
- pta.update(param_info)
+ pta.update(static_model, param_info)
return pta.to_json()
def states(self):