Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f4abf068 authored by Nicolas Derumigny's avatar Nicolas Derumigny
Browse files

statistic: fixing initalisation of raw_data

parent 2ecd844a
Branches
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class Statistics(yaml.YAML_Struct):
histogram: ty.Sequence[float] = None,
raw_data: ty.List[float] = None,
):
self.raw_data = raw_data or []
self.raw_data = raw_data if raw_data is not None else []
self.num_samples = float(num_samples)
self.mean = float(mean)
self.stddev = float(stddev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment