diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-09 04:24:15 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-09 04:24:15 +0000 |
commit | 97668b64994c5749a5a75822136de49841d2c15d (patch) | |
tree | 23dd1852741a847f6228cc063b0a5ad7ec3c2af3 /src/theory/arith/tableau.cpp | |
parent | e63abd23b45a078a42cafb277a4817abb4d044a1 (diff) |
Model generation for arith, boolean, and uf theories via
(get-value ...) SMT-LIBv2 command. As per SMT-LIBv2 spec,
you must pass --interactive --produce-models on the command
line (although they don't currently make us do any extra
work). Closes bug #213.
Diffstat (limited to 'src/theory/arith/tableau.cpp')
-rw-r--r-- | src/theory/arith/tableau.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/arith/tableau.cpp b/src/theory/arith/tableau.cpp index aaeadb629..d6a30ac91 100644 --- a/src/theory/arith/tableau.cpp +++ b/src/theory/arith/tableau.cpp @@ -48,7 +48,7 @@ Row::Row(ArithVar basic, Assert(d_coeffs[var_i] != Rational(0,1)); } } -void Row::subsitute(Row& row_s){ +void Row::substitute(Row& row_s){ ArithVar x_s = row_s.basicVar(); Assert(has(x_s)); @@ -133,7 +133,7 @@ void Tableau::addRow(ArithVar basicVar, Assert(isActiveBasicVariable(var)); Row* row_var = lookup(var); - row_current->subsitute(*row_var); + row_current->substitute(*row_var); } } } @@ -163,7 +163,7 @@ void Tableau::pivot(ArithVar x_r, ArithVar x_s){ Row* row_k = lookup(basic); if(row_k->has(x_s)){ d_activityMonitor.increaseActivity(basic, 30); - row_k->subsitute(*row_s); + row_k->substitute(*row_s); } } } @@ -189,7 +189,7 @@ void Tableau::updateRow(Row* row){ Row* row_var = isActiveBasicVariable(var) ? lookup(var) : lookupEjected(var); Assert(row_var != row); - row->subsitute(*row_var); + row->substitute(*row_var); i = row->begin(); endIter = row->end(); |