Skip to content
Snippets Groups Projects
Commit 550120e1 authored by Sander de Snoo's avatar Sander de Snoo
Browse files

Fix complex output

parent 342e0626
No related branches found
No related tags found
No related merge requests found
......@@ -358,7 +358,7 @@ class _digitzer_scan_parameter(MultiParameter):
data.append(func(ch_data))
# make sure that data is put in the right order.
data_out = [np.zeros(self.shape) for i in range(len(data))]
data_out = [np.zeros(self.shape, dtype=d.dtype) for d in data]
for i in range(len(data)):
ch_data = data[i].reshape(self.shape)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment