diff --git a/src/qcodes/dataset/data_set.py b/src/qcodes/dataset/data_set.py index 8c7cded5a45..b59d6c5df43 100644 --- a/src/qcodes/dataset/data_set.py +++ b/src/qcodes/dataset/data_set.py @@ -1395,13 +1395,13 @@ def _finalize_res_dict_standalones( res_list += new_res elif param.type == "numeric": if value.shape: - res_list += [{param.name: number} for number in value] + res_list += [{param.name: number} for number in value.flatten()] else: new_res = [{param.name: float(value)}] res_list += new_res elif param.type == "complex": if value.shape: - res_list += [{param.name: number} for number in value] + res_list += [{param.name: number} for number in value.flatten()] else: new_res = [{param.name: complex(value)}] res_list += new_res