Skip to content

Commit

Permalink
Remove fastest buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Oct 10, 2024
1 parent 47ef19c commit e723eb6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions wpimath/src/test/native/cpp/TimeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@ void ProcessDurations(const wpi::array<units::nanosecond_t, N>& durations,
}

wpi::print("{}First 10: {}\n", prefix, buffer);

wpi::array<units::nanosecond_t, N> sorted{durations};
std::sort(sorted.begin(), sorted.end());

for (size_t i = 0; i < 10; ++i) {
buffer[i] = sorted[i];
}

wpi::print("{}Fastest 10: {}\n", prefix, buffer);
}

template <size_t N>
Expand Down

0 comments on commit e723eb6

Please sign in to comment.