mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
Fixing variable initializations part 1
This commit is contained in:
parent
796a8cb3f9
commit
3a9d169d46
18 changed files with 47 additions and 90 deletions
|
|
@ -212,10 +212,10 @@ void Math::DFTThread::run()
|
|||
dft.data.clear();
|
||||
int DCbin = timeDomain.size() / 2, startBin = 0;
|
||||
if(DC > 0) {
|
||||
dft.data.resize(timeDomain.size());
|
||||
dft.data.resize(timeDomain.size(), TraceMath::Data());
|
||||
} else {
|
||||
startBin = (timeDomain.size()+1) / 2;
|
||||
dft.data.resize(timeDomain.size()/2);
|
||||
dft.data.resize(timeDomain.size()/2, TraceMath::Data());
|
||||
}
|
||||
|
||||
// reverse effect of frequency domain window function from TDR (if available)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue