diff options
| author | gingerBill <bill@gingerbill.org> | 2018-06-03 21:09:08 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-06-03 21:09:08 +0100 |
| commit | b027b1d60fbceb3483464d4df9813d1d6b10c4fa (patch) | |
| tree | 5f17fcff918b1dba761073baaac3c16b386ef9d7 /core/sort | |
| parent | c39332c7e75eed6b21765b4f08376ff9afbb3c38 (diff) | |
Fix min type info for polymorphic procedures and named types
Diffstat (limited to 'core/sort')
| -rw-r--r-- | core/sort/sort.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sort/sort.odin b/core/sort/sort.odin index b69102b8e..4b69c8c81 100644 --- a/core/sort/sort.odin +++ b/core/sort/sort.odin @@ -69,8 +69,8 @@ quick_sort_proc :: proc(array: $A/[]$T, f: proc(T, T) -> int) { j -= 1; } - quick_sort(a[0..i], f); - quick_sort(a[i..n], f); + quick_sort_proc(a[0..i], f); + quick_sort_proc(a[i..n], f); } quick_sort :: proc(array: $A/[]$T) { |