diff options
author | Leonardo Alt <leonardoaltt@gmail.com> | 2018-02-17 16:34:38 +0800 |
---|---|---|
committer | Leonardo Alt <leonardoaltt@gmail.com> | 2018-03-01 01:05:20 +0800 |
commit | 3b2851ee4163bcfbca9e4e23650dfeee1a06653a (patch) | |
tree | b63e69be2bd74b2809d8933aa01c15d7f4a321c8 /libsolidity/formal/SymbolicIntVariable.cpp | |
parent | f41591b3ddfd3e5c065271058dadb3c6b7f31bbb (diff) | |
download | dexon-solidity-3b2851ee4163bcfbca9e4e23650dfeee1a06653a.tar.gz dexon-solidity-3b2851ee4163bcfbca9e4e23650dfeee1a06653a.tar.zst dexon-solidity-3b2851ee4163bcfbca9e4e23650dfeee1a06653a.zip |
Integer min and max values placed under SymbolicIntVar instead of SMTChecker
Diffstat (limited to 'libsolidity/formal/SymbolicIntVariable.cpp')
-rw-r--r-- | libsolidity/formal/SymbolicIntVariable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/formal/SymbolicIntVariable.cpp b/libsolidity/formal/SymbolicIntVariable.cpp index 6ed7037f..c206f1cd 100644 --- a/libsolidity/formal/SymbolicIntVariable.cpp +++ b/libsolidity/formal/SymbolicIntVariable.cpp @@ -43,12 +43,12 @@ void SymbolicIntVariable::setUnknownValue(int _seq) m_interface.addAssertion(valueAtSequence(_seq) <= maxValue(intType)); } -smt::Expression SymbolicIntVariable::minValue(IntegerType const& _t) const +smt::Expression SymbolicIntVariable::minValue(IntegerType const& _t) { return smt::Expression(_t.minValue()); } -smt::Expression SymbolicIntVariable::maxValue(IntegerType const& _t) const +smt::Expression SymbolicIntVariable::maxValue(IntegerType const& _t) { return smt::Expression(_t.maxValue()); } |