mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge pull request #554 from terickson001/merge-sort-proc
Removed 'where' clause from merge_sort_proc
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ _log2 :: proc(x: int) -> int {
|
|||||||
return res;
|
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) {
|
merge :: proc(a: A, start, mid, end: int, f: proc(T, T) -> int) {
|
||||||
s, m := start, mid;
|
s, m := start, mid;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user