summaryrefslogtreecommitdiff
path: root/lib/model.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-03-04 15:37:05 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-03-04 15:37:05 +0100
commit26d949fb61f874e072f2a495c38ea343e912a02f (patch)
tree96a3b5f0bbf28da6d43f471cb4ddb3d9727f2016 /lib/model.py
parent846c3f4420e67613c2a6a359d4b117ac942200b8 (diff)
Restore --export-energymodel
Diffstat (limited to 'lib/model.py')
-rw-r--r--lib/model.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/model.py b/lib/model.py
index ccbf719..4c4c226 100644
--- a/lib/model.py
+++ b/lib/model.py
@@ -790,10 +790,9 @@ class PTAModel(AnalyticModel):
if pta is None:
pta = PTA(self.states, parameters=self._parameter_names)
pta.update(
- static_model,
param_info,
static_error=static_quality["by_name"],
- analytic_error=analytic_quality["by_name"],
+ function_error=analytic_quality["by_name"],
)
return pta.to_json()