mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-20 22:17:03 +00:00
Remove useless casts
This commit is contained in:
parent
dd4478135a
commit
b751b4b8a1
@ -373,9 +373,9 @@ TEST_F(DataTypeAdapter, IshortToCshortValidationOfResults)
|
||||
{
|
||||
while (ifs.read(reinterpret_cast<char*>(&iSample), sizeof(lv_16sc_t)))
|
||||
{
|
||||
EXPECT_EQ(input_data_shorts.at(i), static_cast<int16_t>(iSample.real()));
|
||||
EXPECT_EQ(input_data_shorts.at(i), iSample.real());
|
||||
i++;
|
||||
EXPECT_EQ(input_data_shorts.at(i), static_cast<int16_t>(iSample.imag()));
|
||||
EXPECT_EQ(input_data_shorts.at(i), iSample.imag());
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user