diff options
author | Ken McMillan <unknown> | 2013-05-29 18:40:04 -0700 |
---|---|---|
committer | Ken McMillan <unknown> | 2013-05-29 18:40:04 -0700 |
commit | 1996182214a0f2516045c41b845867f4ac410977 (patch) | |
tree | 821f1dab699d93c190a6bc5499a0aedad0bb7da1 /Source/VCGeneration/ConditionGeneration.cs | |
parent | a9107b72346424a3e6486622cad8284ef731ada9 (diff) |
Adding background model to fixedpoint counterexamples and small code contracts fixes
Diffstat (limited to 'Source/VCGeneration/ConditionGeneration.cs')
-rw-r--r-- | Source/VCGeneration/ConditionGeneration.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/VCGeneration/ConditionGeneration.cs b/Source/VCGeneration/ConditionGeneration.cs index 092d12d2..cabc9d9e 100644 --- a/Source/VCGeneration/ConditionGeneration.cs +++ b/Source/VCGeneration/ConditionGeneration.cs @@ -188,12 +188,14 @@ namespace Microsoft.Boogie { public static bool firstModelFile = true;
+ public bool ModelHasStatesAlready = false;
+
public void PrintModel()
{
var filename = CommandLineOptions.Clo.ModelViewFile;
if (Model == null || filename == null || CommandLineOptions.Clo.StratifiedInlining > 0) return;
- var m = this.GetModelWithStates();
+ var m = ModelHasStatesAlready ? Model : this.GetModelWithStates();
if (filename == "-") {
m.Write(Console.Out);
|