diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-02-25 14:40:55 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-02-25 14:40:55 +0100 |
commit | 4e3cfbf5ed0e30daf30dd39d88c0b21769b76278 (patch) | |
tree | 18fa7836903b48bf74c4869308c310ce5971dec8 | |
parent | f96a52a8b8e8e820f462b8f269a261b31a262441 (diff) |
pelt_refine: Fix "no sub-states" handling
-rw-r--r-- | lib/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/model.py b/lib/model.py index 07e56f1..99626bb 100644 --- a/lib/model.py +++ b/lib/model.py @@ -1088,7 +1088,7 @@ class PTAModel(AnalyticModel): "power_std": self.by_param[by_param_key]["power_std"], } ] - return (substate_counts, substate_data) + return 1, (substate_counts, substate_data) num_changepoints = np.argmax(np.bincount(num_changepoints_by_trace)) |