Skip to content
Snippets Groups Projects
Commit 020f3c10 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Disable assert to allow FFT sizes not multiple of sample number

parent c714b0f1
Branches
No related tags found
No related merge requests found
......@@ -73,8 +73,6 @@ GatedSpectrometer<HandlerType>::GatedSpectrometer(
<< " byte\n";
std::size_t nsamps_per_buffer = _dataBlockBytes * 8 / nbits;
assert(nsamps_per_buffer % _fft_length ==
0 /*Number of samples is not multiple of FFT size*/);
std::size_t n64bit_words = _dataBlockBytes / sizeof(uint64_t);
_nchans = _fft_length / 2 + 1;
int batch = nsamps_per_buffer / _fft_length;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment