Skip to content

Commit 6b820ea

Browse files
committed
formatting
1 parent f4fe412 commit 6b820ea

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

benchrunner/Measure.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ benchAndRunCSorts salg arr iters = do
192192
!sortedArr <- peekArray arrLength (castPtr sortedPtr :: Ptr Int64)
193193
return $! (sortedArr, delt)
194194

195-
196195
-- return type : IO ([Int64], Double, Double)
197196
-- [Int64]: sorted output array from the last iteration that was run
198197
-- Double: median runtime from the iterations that were run (selftimed)

benchrunner/cxx/benchmarks.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ typedef int (*__compar_fn_t) (const void *, const void *);
1212
// Sorting algorithms.
1313
template<typename T> T *insertionsort_inplace(T *pbase, size_t total_elems);
1414
template<typename T> T *quicksort_inplace(T *_a, size_t n);
15-
template <typename T> T *bottomUpMergeSort(T *a, T *b, int n);
16-
template <typename T> void bottomUpMerge(T *a, int left, int right, int end, T *b);
17-
template <typename T> void copyArray(T *b, T* a, int n);
15+
template<typename T> T *bottomUpMergeSort(T *a, T *b, int n);
16+
template<typename T> void bottomUpMerge(T *a, int left, int right, int end, T *b);
17+
template<typename T> void copyArray(T *b, T* a, int n);
1818

1919
// Relating to C++ templatized versions
2020
extern "C" {

0 commit comments

Comments
 (0)