Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
size_t in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
bruingineer committed Jul 1, 2024
1 parent 1b297c6 commit d9b5c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/trajopt/util/GenerateSplineInitialGuess.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ inline SwerveSolution CalculateSplineInitialGuessWithKinematicsAndConstraints(
path, initialGuessPoints, controlIntervalCounts);

SwerveSolution initialGuess;
for (auto i = 0; i < trajectoriesSamples.size(); ++i) {
for (size_t i = 0; i < trajectoriesSamples.size(); ++i) {
const auto& traj = trajectoriesSamples.at(i);
/// FIXME: first segment is always 1 point long so always 0.1s to second
/// sample
Expand Down

0 comments on commit d9b5c6f

Please sign in to comment.