summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/StratifiedVC.cs
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/VCGeneration/StratifiedVC.cs
parent53877d7a90e870d6d95d08dfd86209e315101e09 (diff)
eliminated class ErrorModel
Diffstat (limited to 'Source/VCGeneration/StratifiedVC.cs')
-rw-r--r--Source/VCGeneration/StratifiedVC.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs
index 18ff4c87..7e04e172 100644
--- a/Source/VCGeneration/StratifiedVC.cs
+++ b/Source/VCGeneration/StratifiedVC.cs
@@ -2714,7 +2714,7 @@ namespace VC
public class EmptyErrorHandler : ProverInterface.ErrorHandler
{
- public override void OnModel(IList<string> labels, ErrorModel errModel)
+ public override void OnModel(IList<string> labels, Model model)
{
}
@@ -2898,7 +2898,7 @@ namespace VC
return;
}
- public override void OnModel(IList<string> labels, ErrorModel errModel) {
+ public override void OnModel(IList<string> labels, Model model) {
List<Absy> absyList = new List<Absy>();
foreach (var label in labels) {
absyList.Add(Label2Absy(label));
@@ -2907,9 +2907,6 @@ namespace VC
orderedStateIds = new List<Tuple<int, int>>();
candidatesToExpand = new List<int>();
- Model model = null;
- if (errModel != null) model = errModel.ToModel();
-
if (underapproximationMode) {
var cex = NewTrace(0, absyList, model);
Debug.Assert(candidatesToExpand.Count == 0);