summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-01-21 13:48:19 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-01-21 13:48:19 +0100
commit7064c8d0b7b3e49fe9ac48902bf1f0a3d62ab4bb (patch)
treed7e65a30d076c6bdd7fa0df895dbfdf109a57491 /lib
parent24c253ed6453b9f49ebe03a49d6adf32f86f0b23 (diff)
"if np.std(data) < 0". real galaxy brain condition right there.
Diffstat (limited to 'lib')
-rw-r--r--lib/parameters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parameters.py b/lib/parameters.py
index 49d7d1f..8ca8f39 100644
--- a/lib/parameters.py
+++ b/lib/parameters.py
@@ -1009,7 +1009,7 @@ class ModelAttribute:
"""
param_count = len(self.param_names) + self.arg_count
- if param_count == 0 or np.std(data) < threshold:
+ if param_count == 0 or np.std(data) <= threshold:
return df.StaticFunction(np.mean(data))
# sf.value_error["std"] = np.std(data)