summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2012-04-28 19:06:03 -0700
committerGravatar qadeer <qadeer@microsoft.com>2012-04-28 19:06:03 -0700
commit6f9c19ac2ae18cb8ea3cc3814109f6bb3004c330 (patch)
tree9e47bafa22753b9edf7a2efe8355255e41e824e7 /Source/Provers/SMTLib
parent53877d7a90e870d6d95d08dfd86209e315101e09 (diff)
eliminated class ErrorModel
Diffstat (limited to 'Source/Provers/SMTLib')
-rw-r--r--Source/Provers/SMTLib/ProverInterface.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Provers/SMTLib/ProverInterface.cs b/Source/Provers/SMTLib/ProverInterface.cs
index 48791385..c65406b4 100644
--- a/Source/Provers/SMTLib/ProverInterface.cs
+++ b/Source/Provers/SMTLib/ProverInterface.cs
@@ -428,8 +428,8 @@ namespace Microsoft.Boogie.SMTLib
labels = CalculatePath(0);
xlabels = labels;
}
- ErrorModel errorModel = GetErrorModel();
- handler.OnModel(xlabels, errorModel);
+ Model model = GetErrorModel();
+ handler.OnModel(xlabels, model);
}
if (labels == null || errorsLeft == 0) break;
@@ -489,7 +489,7 @@ namespace Microsoft.Boogie.SMTLib
return path.ToArray();
}
- private ErrorModel GetErrorModel() {
+ private Model GetErrorModel() {
if (!options.ExpectingModel())
return null;
SendThisVC("(get-model)");
@@ -528,7 +528,7 @@ namespace Microsoft.Boogie.SMTLib
else
theModel = models[0];
}
- return new ErrorModel(theModel);
+ return theModel;
}
private string[] GetLabelsInfo()