aboutsummaryrefslogtreecommitdiff
path: root/src/base/test.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-12-10 09:16:08 -0800
committerNicholas Noll <nbnoll@eml.cc>2021-12-10 09:16:08 -0800
commit25537c3d3b9b68af91573dec39d1f46c3d97f735 (patch)
tree3f2ea6207a28fe9610d767dd78fb24d17f858ce0 /src/base/test.c
parentf4aef385bdd41b02ef58b5366fa9318ecdc6e37e (diff)
Checkin: small sprawling updates
Small touches to multiple locations in base. Nothing major
Diffstat (limited to 'src/base/test.c')
-rw-r--r--src/base/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/test.c b/src/base/test.c
index 6baaf78..ceb9532 100644
--- a/src/base/test.c
+++ b/src/base/test.c
@@ -23,7 +23,7 @@ test·sort()
test[i] = rng·randi(1000000);
t = clock();
- sort·int(arrlen(test), test);
+ sort·int(test, arrlen(test));
t = clock() - t;
fmt·print("inlined code took %f ms to execute\n", 1000.*t/CLOCKS_PER_SEC);