Skip to content

Commit

Permalink
Remove size_t warnings in telescope
Browse files Browse the repository at this point in the history
  • Loading branch information
200km committed Jul 17, 2023
1 parent 6fafc06 commit 9a9aafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/real/mission/telescope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void Telescope::ObserveStars() {
Quaternion quaternion_i2b = attitude_->GetQuaternion_i2b();

star_list_in_sight.clear(); // Clear first
int count = 0; // Counter for while loop
size_t count = 0; // Counter for while loop

while (star_list_in_sight.size() < number_of_logged_stars_) {
libra::Vector<3> target_b = hipparcos_->GetStarDirection_b(count, quaternion_i2b);
Expand Down

0 comments on commit 9a9aafe

Please sign in to comment.