summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib/SMTLibLineariser.cs
diff options
context:
space:
mode:
authorGravatar Valentin Wüstholz <wuestholz@gmail.com>2016-03-07 18:25:13 -0600
committerGravatar Valentin Wüstholz <wuestholz@gmail.com>2016-03-07 18:25:13 -0600
commit63c4b7642cd4566a39906b2d73c47b4ebe9f7c1c (patch)
tree4310bdb93e86a0a181be5411af116b8dfa72d6c7 /Source/Provers/SMTLib/SMTLibLineariser.cs
parent502942a53a6db2b3a900d7570807216372d49ad0 (diff)
Add support for weights on soft assumes.
Diffstat (limited to 'Source/Provers/SMTLib/SMTLibLineariser.cs')
-rw-r--r--Source/Provers/SMTLib/SMTLibLineariser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Provers/SMTLib/SMTLibLineariser.cs b/Source/Provers/SMTLib/SMTLibLineariser.cs
index 6df44c2f..06554fcb 100644
--- a/Source/Provers/SMTLib/SMTLibLineariser.cs
+++ b/Source/Provers/SMTLib/SMTLibLineariser.cs
@@ -281,7 +281,7 @@ namespace Microsoft.Boogie.SMTLib
Linearise(node[1], options);
return true;
}
- if (node.Op.Equals(VCExpressionGenerator.SoftOp))
+ if (node.Op is VCExprSoftOp)
{
Linearise(node[1], options);
return true;