template.c: fix MAX calculation
This commit is contained in:
parent
3217ac0763
commit
7efc6b77f5
@ -226,7 +226,7 @@ main(void)
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
const size_t MAX = (PRODUCT + (BLOCK_SIZE - 1)) / BLOCK_SIZE;
|
||||
const size_t MAX = (GEN_LENGTH + (BLOCK_SIZE - 1)) / BLOCK_SIZE;
|
||||
#endif
|
||||
|
||||
// * allocate heap for sample data
|
||||
|
Loading…
Reference in New Issue
Block a user