Skip to content
Snippets Groups Projects
Commit 10dcf4e7 authored by Chad Hanna's avatar Chad Hanna
Browse files

fixed if statement logic

parent 6f26852a
No related branches found
No related tags found
No related merge requests found
......@@ -700,7 +700,7 @@ def mkitac(pipeline, src, n, bank, autocorrelation_matrix = None, snr_thresh = 0
elem.set_property("bank-filename", bank)
if autocorrelation_matrix is not None:
elem.set_property("autocorrelation-matrix", pipeio.repack_complex_array_to_real(autocorrelation_matrix))
elem.set_property("snr-thresh", snr_thresh)
elem.set_property("snr-thresh", snr_thresh)
pipeline.add(elem)
src.link(elem)
return elem
......
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