Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
200km committed Oct 5, 2023
1 parent aa92eb7 commit bca3782
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/dynamics/thermal/heater.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class Heater {
void PrintParam(void);

protected:
size_t heater_id_; // heater id (Use values over 1)
double power_rating_W_; // Power Rating (100% Duty) [W]
size_t heater_id_; // heater id (Use values over 1)
double power_rating_W_; // Power Rating (100% Duty) [W]

HeaterStatus heater_status_; // Power Status of Heater
double power_output_W_; // Power Output of Heater [W]
Expand Down
4 changes: 2 additions & 2 deletions src/environment/global/gnss_satellites.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ void GnssSat_position::SetUp(const double start_unix_time, const double step_sec
continue;
}

int index = lower_bound(unixtime_vector_.at(gnss_satellite_id).begin(), unixtime_vector_.at(gnss_satellite_id).end(), start_unix_time) -
unixtime_vector_.at(gnss_satellite_id).begin();
int64_t index = lower_bound(unixtime_vector_.at(gnss_satellite_id).begin(), unixtime_vector_.at(gnss_satellite_id).end(), start_unix_time) -
unixtime_vector_.at(gnss_satellite_id).begin();
if (index == (int)unixtime_vector_.at(gnss_satellite_id).size()) {
nearest_index_.at(gnss_satellite_id) = index;
validate_.at(gnss_satellite_id) = false;
Expand Down

0 comments on commit bca3782

Please sign in to comment.