aboutsummaryrefslogtreecommitdiff
path: root/test/010_math_permtoindex/permtoindex_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/010_math_permtoindex/permtoindex_tests.c')
-rw-r--r--test/010_math_permtoindex/permtoindex_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/010_math_permtoindex/permtoindex_tests.c b/test/010_math_permtoindex/permtoindex_tests.c
index 98c8207..ff61945 100644
--- a/test/010_math_permtoindex/permtoindex_tests.c
+++ b/test/010_math_permtoindex/permtoindex_tests.c
@@ -1,6 +1,6 @@
1#include "../test.h" 1#include "../test.h"
2 2
3int64_t permtoindex(uint8_t *, int64_t); 3int64_t permtoindex(size_t n, const uint8_t [n]);
4 4
5void run(void) { 5void run(void) {
6 char str[STRLENMAX]; 6 char str[STRLENMAX];
@@ -14,6 +14,6 @@ void run(void) {
14 a[i] = atoi(str); 14 a[i] = atoi(str);
15 } 15 }
16 16
17 p = permtoindex(a, n); 17 p = permtoindex(n, a);
18 printf("%" PRId64 "\n", p); 18 printf("%" PRId64 "\n", p);
19} 19}

Generated with cgit - Back to sebastiano.tronto.net