Removed 'where' clause from merge_sort_proc

This commit is contained in:
Tyler Erickson
2020-02-03 19:20:12 -08:00
parent 0f399a7294
commit 391e2a5120
+1 -1
View File
@@ -103,7 +103,7 @@ _log2 :: proc(x: int) -> int {
return res;
}
merge_sort_proc :: proc(array: $A/[]$T, f: proc(T, T) -> int) where intrinsics.type_is_ordered(T) {
merge_sort_proc :: proc(array: $A/[]$T, f: proc(T, T) -> int) {
merge :: proc(a: A, start, mid, end: int, f: proc(T, T) -> int) {
s, m := start, mid;