Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #5 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update microsat.c
weaversa authored Oct 7, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7cba6623e3d07754753a532062d8f993f4c545d2
1 change: 1 addition & 0 deletions microsat.c
Original file line number Diff line number Diff line change
@@ -207,6 +207,7 @@ void initCDCL (struct solver* S, int n, int m) {
S->prev [i] = i - 1; S->next[i-1] = i; // the double-linked list for variable-move-to-front,
S->model[i] = S->false[-i] = S->false[i] = 0; // the model (phase-saving), the false array,
S->first[i] = S->first[-i] = END; } // and first (watch pointers).
S->false[0] = 0; // Ensure decision 0 is unassigned.
S->head = n; } // Initialize the head of the double-linked list

static void read_until_new_line (FILE * input) {