Skip to content

Commit

Permalink
chore(autoware_trajectory): resolve clang-tidy warning of example file (
Browse files Browse the repository at this point in the history
#206)

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
  • Loading branch information
yhisaki authored Feb 19, 2025
1 parent 6994628 commit 7618ecf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ int main()
std::random_device seed_gen;
std::mt19937 engine(seed_gen());
std::uniform_real_distribution<> dist(-1.0, 1.0);
values.reserve(bases.size());
for (size_t i = 0; i < bases.size(); ++i) {
values.push_back(dist(engine));
}
Expand Down

0 comments on commit 7618ecf

Please sign in to comment.