1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

make clang-tidy happy

This commit is contained in:
Jim Melton 2021-09-22 20:02:36 -06:00
parent 06d1d2773b
commit 530684d241
No known key found for this signature in database
GPG Key ID: C46392D9AACAB216

View File

@ -105,7 +105,10 @@ std::tuple<size_t, bool> TwoBitPackedFileSignalSource::itemTypeToSize()
double TwoBitPackedFileSignalSource::packetsPerSample() const
{
auto packets = item_size() * 4.0;
if (is_complex()) packets /= 2;
if (is_complex())
{
packets /= 2;
}
return packets;
}