Skip to content

Commit

Permalink
Fix soze_t
Browse files Browse the repository at this point in the history
  • Loading branch information
200km committed Oct 5, 2023
1 parent bca3782 commit 9be43d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dynamics/thermal/heater.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Heater {
* @fn GetHeaterID
* @brief Return Heater Id
*/
inline int GetHeaterId(void) const { return heater_id_; }
inline size_t GetHeaterId(void) const { return heater_id_; }
/**
* @fn GetPowerRating_W
* @brief Return power rating [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;
}

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();
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();
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 9be43d4

Please sign in to comment.