1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-12 06:17:39 +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

View File

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