diff options
Diffstat (limited to 'lib/utils.py')
-rw-r--r-- | lib/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils.py b/lib/utils.py index d28ecda..990ad01 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -204,6 +204,7 @@ def filter_aggregate_by_param(aggregate, parameters, parameter_filter): indices_to_keep = list( map(lambda x: x[param_index] == param_value, aggregate[name]["param"]) ) + # ["param"] is not a numpy array, so we can't use ["param"][indices_to_keep] and rely on this map-filter-expression instead aggregate[name]["param"] = list( map( lambda iv: iv[1], |