mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[build] Fix clang-tidy warnings (#8343)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user