diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-19 17:45:14 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-19 17:45:14 +0200 |
| commit | 62d87e063318cc4c842b1b2d8c184f48aeaf6659 (patch) | |
| tree | 832bf338232c477975bea69f7370ca13f350fb07 /src/nissy.h | |
| parent | 8b94d135429a9f3253cc7f25a1453b412065c4a0 (diff) | |
| download | nissy-core-62d87e063318cc4c842b1b2d8c184f48aeaf6659.tar.gz nissy-core-62d87e063318cc4c842b1b2d8c184f48aeaf6659.zip | |
Refactored checkdata
Relevant changes include:
- Changed the signature of nissy_checkdata().
- Removed expected_distribution.h from tools; this data is now included
in each solver's src/ code.
- Removed distribution check for cocsep; may add back later.
Diffstat (limited to '')
| -rw-r--r-- | src/nissy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nissy.h b/src/nissy.h index 2fa4a75..0447d66 100644 --- a/src/nissy.h +++ b/src/nissy.h | |||
| @@ -283,6 +283,7 @@ nissy_gendata( | |||
| 283 | Check that the data is a valid data table for a solver. | 283 | Check that the data is a valid data table for a solver. |
| 284 | 284 | ||
| 285 | Parameters: | 285 | Parameters: |
| 286 | solver - The name of the solver. | ||
| 286 | data_size - The size of the data buffer. | 287 | data_size - The size of the data buffer. |
| 287 | data - The data for the solver. Can be computed with gendata. | 288 | data - The data for the solver. Can be computed with gendata. |
| 288 | This buffer must have 8-byte alignment. | 289 | This buffer must have 8-byte alignment. |
| @@ -293,6 +294,7 @@ Return values: | |||
| 293 | */ | 294 | */ |
| 294 | long long | 295 | long long |
| 295 | nissy_checkdata( | 296 | nissy_checkdata( |
| 297 | const char *solver, | ||
| 296 | unsigned long long data_size, | 298 | unsigned long long data_size, |
| 297 | const unsigned char data[data_size] | 299 | const unsigned char data[data_size] |
| 298 | ); | 300 | ); |
