Skip to content

Commit

Permalink
Merge branch 'master' into datatype-field-attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
shazqadeer authored Jan 22, 2024
2 parents e8565f6 + 20abd87 commit d15fc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/VCGeneration/ConditionGeneration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ protected void TurnIntoPassiveCmd(TextWriter traceWriter, Cmd c, Block enclosing
}

Expr copy = Substituter.ApplyReplacingOldExprs(incarnationSubst, oldFrameSubst, pc.Expr);
if (Options.ModelViewFile != null && pc is AssumeCmd captureStateAssumeCmd)
if (Options.ExpectingModel && pc is AssumeCmd captureStateAssumeCmd)
{
string description = QKeyValue.FindStringAttribute(pc.Attributes, "captureState");
if (description != null)
Expand Down

0 comments on commit d15fc98

Please sign in to comment.