Skip to content

Commit

Permalink
Adding spelling fixes by Julien Puydt
Browse files Browse the repository at this point in the history
Thank you os much!
  • Loading branch information
msoos committed May 4, 2024
1 parent f32a924 commit fd845e4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/check_lpn_solution.py
Expand Up @@ -54,7 +54,7 @@
sol[var] = lit > 0

if sat is None:
print("ERRROR could not recover solution from SAT output")
print("ERROR could not recover solution from SAT output")
exit(-1)

# print("Recovered SAT: ", sat)
Expand Down
2 changes: 1 addition & 1 deletion scripts/translate_opb.py
Expand Up @@ -103,7 +103,7 @@ def translate(self):
c.lhs[i][0] = -c.lhs[i][0]
leq_translate(c)
else:
print("ERRROR")
print("ERROR")
exit(-1)


Expand Down
2 changes: 1 addition & 1 deletion src/get_clause_query.cpp
Expand Up @@ -62,7 +62,7 @@ void GetClauseQuery::start_getting_constraints(bool _red, bool _simplified,
simplified = _simplified;
if (simplified) {
if (solver->get_num_bva_vars() != 0) {
cout << "ERRROR! You must not have BVA variables for simplified CNF getting" << endl;
cout << "ERROR! You must not have BVA variables for simplified CNF getting" << endl;
exit(-1);
}
release_assert(solver->get_num_bva_vars() == 0);
Expand Down
4 changes: 2 additions & 2 deletions src/mpicosat/mpicosat.c
Expand Up @@ -7472,7 +7472,7 @@ picosat_mus_assumptions (PS * ps, void * s, void (*cb)(void*,const int*), int fi
assert (res == 20);
if (ps->verbosity > 1)
fprintf (ps->out,
"%ssuceeded to drop %d%s assumption %d\n",
"%ssucceeded to drop %d%s assumption %d\n",
ps->prefix, i, enumstr (i), work[i]);
redundant[i] = 1;
for (j = 0; j < nwork; j++)
Expand All @@ -7489,7 +7489,7 @@ picosat_mus_assumptions (PS * ps, void * s, void (*cb)(void*,const int*), int fi
redundant[j] = -1;
if (ps->verbosity > 1)
fprintf (ps->out,
"%salso suceeded to drop %d%s assumption %d\n",
"%salso succeeded to drop %d%s assumption %d\n",
ps->prefix, j, enumstr (j), work[j]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/occsimplifier.cpp
Expand Up @@ -5429,7 +5429,7 @@ void OccSimplifier::check_clauses_lits_ordered() const
if (cl->freed() || cl->get_removed()) continue;
for(uint32_t i = 1; i < cl->size(); i++) {
if ((*cl)[i-1] >= (*cl)[i]) {
cout << "ERRROR cl: " << *cl << endl;
cout << "ERROR cl: " << *cl << endl;
assert(false);
}
}
Expand Down

0 comments on commit fd845e4

Please sign in to comment.