Early subsumption complete
Signed-off-by: gothictomato <gothictomato@pm.me>
This commit is contained in:
1
ncnf.c
1
ncnf.c
@@ -127,6 +127,7 @@ cnf* readDIMACS(char* path) {
|
||||
// Realloc the arrays to exactly match the number of literals
|
||||
c->variables = realloc(c->variables, sizeof(u32) * cnt);
|
||||
c->parities = realloc(c->parities, sizeof(u8) * cnt);
|
||||
c->cnts[2] = cnt;
|
||||
free(buf);
|
||||
if (fclose(f)) {
|
||||
printf("Failed to close file\n");
|
||||
|
||||
Reference in New Issue
Block a user