summaryrefslogtreecommitdiff
path: root/src/prop/bvminisat
diff options
context:
space:
mode:
authorFabianWolff <fabi.wolff@arcor.de>2020-09-01 05:20:57 +0200
committerGitHub <noreply@github.com>2020-08-31 20:20:57 -0700
commitfa05eb5599e2ac0b2d4c1e0e943fee6353b52430 (patch)
treef3c9cbb78e7e80657e0a0ebcd5f438842d05a854 /src/prop/bvminisat
parent09b3b246ad0328a163b0e3825531ccf82ea4013d (diff)
Fix spelling errors (#4977)
Signed-off-by: Fabian Wolff <fabi.wolff@arcor.de>
Diffstat (limited to 'src/prop/bvminisat')
-rw-r--r--src/prop/bvminisat/simp/SimpSolver.cc2
-rw-r--r--src/prop/bvminisat/simp/SimpSolver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/prop/bvminisat/simp/SimpSolver.cc b/src/prop/bvminisat/simp/SimpSolver.cc
index b003342c6..6641310cc 100644
--- a/src/prop/bvminisat/simp/SimpSolver.cc
+++ b/src/prop/bvminisat/simp/SimpSolver.cc
@@ -538,7 +538,7 @@ bool SimpSolver::eliminateVar(Var v)
for (int i = 0; i < cls.size(); i++)
(find(ca[cls[i]], mkLit(v)) ? pos : neg).push(cls[i]);
- // Check wether the increase in number of clauses stays within the allowed ('grow'). Moreover, no
+ // Check whether the increase in number of clauses stays within the allowed ('grow'). Moreover, no
// clause must exceed the limit on the maximal clause size (if it is set):
//
int cnt = 0;
diff --git a/src/prop/bvminisat/simp/SimpSolver.h b/src/prop/bvminisat/simp/SimpSolver.h
index 9d3a51c02..9907b8d72 100644
--- a/src/prop/bvminisat/simp/SimpSolver.h
+++ b/src/prop/bvminisat/simp/SimpSolver.h
@@ -54,7 +54,7 @@ class SimpSolver : public Solver {
Lit r,
ClauseId& id); // Add a ternary clause to the solver.
bool addClause_(vec<Lit>& ps, ClauseId& id);
- bool substitute(Var v, Lit x); // Replace all occurences of v with x (may
+ bool substitute(Var v, Lit x); // Replace all occurrences of v with x (may
// cause a contradiction).
// Variable mode:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback