Skip to content

Commit 525a7db

Browse files
committed
Remove conversions to single. Use always double parameters.
1 parent 01bc645 commit 525a7db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

toolbox/src/bossdevice.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ function stop(obj)
308308
if size(weights, 1) < num_rows
309309
weights(num_rows, 1) = 0; % fill with zeros
310310
end
311-
setparam(obj, '', 'spfWeights', single(weights));
311+
setparam(obj, '', 'spfWeights', weights);
312312
end
313313

314314

toolbox/src/bossdevice_oscillation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
if numel(coeffs) < numel(obj.bpf_fir_coeffs)
121121
coeffs(numel(obj.bpf_fir_coeffs)) = 0; % fill with zeros
122122
end
123-
setparam(obj.targetObj, [obj.appName,'/OSC/' obj.name], 'bpf_fir_coeffs', single(coeffs));
123+
setparam(obj.targetObj, [obj.appName,'/OSC/' obj.name], 'bpf_fir_coeffs', coeffs);
124124
end
125125

126126
function offset_samples = get.offset_samples(obj)

0 commit comments

Comments
 (0)