We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fceccc3 commit 68e5393Copy full SHA for 68e5393
tests/test-qsort-common.h
@@ -23,7 +23,7 @@
23
template <typename T>
24
void IS_SORTED(std::vector<T> sorted, std::vector<T> arr, std::string type)
25
{
26
- if (memcmp(arr.data(), sorted.data(), arr.size() * sizeof(T) != 0)) {
+ if (memcmp(arr.data(), sorted.data(), arr.size() * sizeof(T)) != 0) {
27
REPORT_FAIL("Array not sorted", arr.size(), type, -1);
28
}
29
0 commit comments