mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-05-21 21:02:12 +00:00
Transition to clang-format 19
This commit is contained in:
@@ -2095,7 +2095,7 @@ inline bool Gnuplot::get_program_path()
|
||||
|
||||
// scan list for Gnuplot program files
|
||||
for (std::list<std::string>::const_iterator i = ls.begin();
|
||||
i != ls.end(); ++i)
|
||||
i != ls.end(); ++i)
|
||||
{
|
||||
tmp = (*i) + "/" + Gnuplot::m_sGNUPlotFileName;
|
||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__TOS_WIN__)
|
||||
|
||||
@@ -97,7 +97,7 @@ bool Spirent_Motion_Csv_Dump_Reader::read_csv_obs()
|
||||
line, boost::escaped_list_separator<char>('\\', ',', '\"'));
|
||||
for (boost::tokenizer<boost::escaped_list_separator<char>>::iterator i(
|
||||
tk.begin());
|
||||
i != tk.end(); ++i)
|
||||
i != tk.end(); ++i)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@@ -37,8 +37,7 @@ TEST(FFTSpeedTest, ArmadilloVSGNURadioExecutionTime)
|
||||
unsigned int fft_sizes[19] = {16, 25, 32, 45, 64, 95, 128, 195, 256, 325, 512, 785, 1024, 1503, 2048, 3127, 4096, 6349, 8192};
|
||||
double d_execution_time;
|
||||
EXPECT_NO_THROW(
|
||||
for (unsigned int fft_size
|
||||
: fft_sizes) {
|
||||
for (unsigned int fft_size : fft_sizes) {
|
||||
d_fft_size = fft_size;
|
||||
auto d_gr_fft = gnss_fft_fwd_make_unique(d_fft_size);
|
||||
arma::arma_rng::set_seed_random();
|
||||
|
||||
@@ -1816,7 +1816,7 @@ bool HybridObservablesTest::ReadRinexObs(std::vector<arma::mat>* obs_vec, Gnss_S
|
||||
}
|
||||
}
|
||||
} // end while
|
||||
} // End of 'try' block
|
||||
} // End of 'try' block
|
||||
catch (const gnsstk::FFStreamError& e)
|
||||
{
|
||||
std::cout << e;
|
||||
|
||||
+1
-1
@@ -1871,7 +1871,7 @@ bool HybridObservablesTestFpga::ReadRinexObs(std::vector<arma::mat>* obs_vec, Gn
|
||||
}
|
||||
}
|
||||
} // end while
|
||||
} // End of 'try' block
|
||||
} // End of 'try' block
|
||||
|
||||
catch (const gnsstk::FFStreamError& e)
|
||||
{
|
||||
|
||||
@@ -398,8 +398,8 @@ TEST(RTKLibSolverTest, test1)
|
||||
{
|
||||
std::map<int, Gps_Ephemeris>::const_iterator gps_eph_iter;
|
||||
for (gps_eph_iter = supl_client_ephemeris_.gps_ephemeris_map.cbegin();
|
||||
gps_eph_iter != supl_client_ephemeris_.gps_ephemeris_map.cend();
|
||||
gps_eph_iter++)
|
||||
gps_eph_iter != supl_client_ephemeris_.gps_ephemeris_map.cend();
|
||||
gps_eph_iter++)
|
||||
{
|
||||
std::cout << "SUPL: Read XML Ephemeris for GPS SV " << gps_eph_iter->first << '\n';
|
||||
std::shared_ptr<Gps_Ephemeris> tmp_obj = std::make_shared<Gps_Ephemeris>(gps_eph_iter->second);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
class TransitionModel : public ModelFunction
|
||||
{
|
||||
public:
|
||||
explicit TransitionModel(const arma::mat& kf_F) : coeff_mat(kf_F){};
|
||||
explicit TransitionModel(const arma::mat& kf_F) : coeff_mat(kf_F) {};
|
||||
arma::vec operator()(const arma::vec& input) override { return coeff_mat * input; };
|
||||
|
||||
private:
|
||||
@@ -35,7 +35,7 @@ private:
|
||||
class MeasurementModel : public ModelFunction
|
||||
{
|
||||
public:
|
||||
explicit MeasurementModel(const arma::mat& kf_H) : coeff_mat(kf_H){};
|
||||
explicit MeasurementModel(const arma::mat& kf_H) : coeff_mat(kf_H) {};
|
||||
arma::vec operator()(const arma::vec& input) override { return coeff_mat * input; };
|
||||
|
||||
private:
|
||||
|
||||
@@ -1282,8 +1282,8 @@ TEST_F(TrackingPullInTest, ValidationOfResults)
|
||||
}
|
||||
}
|
||||
} // end plot
|
||||
} // end acquisition Delay errors loop
|
||||
} // end acquisition Doppler errors loop
|
||||
} // end acquisition Delay errors loop
|
||||
} // end acquisition Doppler errors loop
|
||||
pull_in_results_v_v.push_back(pull_in_results_v);
|
||||
} // end CN0 LOOP
|
||||
|
||||
|
||||
@@ -1433,8 +1433,8 @@ TEST_F(TrackingPullInTestFpga, ValidationOfResults)
|
||||
}
|
||||
}
|
||||
} // end plot
|
||||
} // end acquisition Delay errors loop
|
||||
} // end acquisition Doppler errors loop
|
||||
} // end acquisition Delay errors loop
|
||||
} // end acquisition Doppler errors loop
|
||||
pull_in_results_v_v.push_back(pull_in_results_v);
|
||||
} // end CN0 LOOP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user