diff options
Diffstat (limited to '')
| -rw-r--r-- | src/nissy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nissy.c b/src/nissy.c index 953471f..2eed1b5 100644 --- a/src/nissy.c +++ b/src/nissy.c | |||
| @@ -13,8 +13,8 @@ | |||
| 13 | 13 | ||
| 14 | int parse_h48_options(const char *, uint8_t *, uint8_t *, uint8_t *); | 14 | int parse_h48_options(const char *, uint8_t *, uint8_t *, uint8_t *); |
| 15 | STATIC int64_t write_result(cube_t, char [static 22]); | 15 | STATIC int64_t write_result(cube_t, char [static 22]); |
| 16 | STATIC bool distribution_equal( | 16 | STATIC bool distribution_equal(const uint64_t [static INFO_DISTRIBUTION_LEN], |
| 17 | const uint64_t [static 21], const uint64_t [static 21], uint8_t); | 17 | const uint64_t [static INFO_DISTRIBUTION_LEN], uint8_t); |
| 18 | STATIC bool checkdata(const void *, const tableinfo_t *); | 18 | STATIC bool checkdata(const void *, const tableinfo_t *); |
| 19 | 19 | ||
| 20 | /* TODO: add option to get DR, maybe C-only, E-only, eo... */ | 20 | /* TODO: add option to get DR, maybe C-only, E-only, eo... */ |
| @@ -68,7 +68,7 @@ parse_h48_options_error: | |||
| 68 | STATIC bool | 68 | STATIC bool |
| 69 | checkdata(const void *buf, const tableinfo_t *info) | 69 | checkdata(const void *buf, const tableinfo_t *info) |
| 70 | { | 70 | { |
| 71 | uint64_t distr[21]; | 71 | uint64_t distr[INFO_DISTRIBUTION_LEN]; |
| 72 | 72 | ||
| 73 | if (!strncmp(info->solver, "cocsep", 6)) { | 73 | if (!strncmp(info->solver, "cocsep", 6)) { |
| 74 | getdistribution_cocsep( | 74 | getdistribution_cocsep( |
| @@ -86,8 +86,8 @@ checkdata(const void *buf, const tableinfo_t *info) | |||
| 86 | 86 | ||
| 87 | STATIC bool | 87 | STATIC bool |
| 88 | distribution_equal( | 88 | distribution_equal( |
| 89 | const uint64_t expected[static 21], | 89 | const uint64_t expected[static INFO_DISTRIBUTION_LEN], |
| 90 | const uint64_t actual[static 21], | 90 | const uint64_t actual[static INFO_DISTRIBUTION_LEN], |
| 91 | uint8_t maxvalue | 91 | uint8_t maxvalue |
| 92 | ) | 92 | ) |
| 93 | { | 93 | { |
