[build] Fix clang-tidy warnings (#8343)

This commit is contained in:
Tyler Veness
2025-11-08 14:07:00 -08:00
committed by GitHub
parent 161f8d107b
commit aeedfa588c
2 changed files with 2 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ class WPILIB_DLLEXPORT Trajectory {
// interpolation is the change in position (delta s) divided by the total
// distance between the two endpoints.
const double interpolationFrac =
// NOLINTNEXTLINE (bugprone-integer-division)
newS / endValue.pose.Translation().Distance(pose.Translation());
return {