diff options
author | Leonardo Alt <leonardoaltt@gmail.com> | 2017-12-19 00:31:27 +0800 |
---|---|---|
committer | Leonardo Alt <leonardoaltt@gmail.com> | 2017-12-19 00:31:27 +0800 |
commit | b588134840bf604ed4fa6031fb06a89cbbd13bcd (patch) | |
tree | 36312aa40a2a5494e50dcb83a3672f799b723bf0 /libsolidity/formal/SMTChecker.cpp | |
parent | 55752db9569a3d6c0253beb26465c722245a4505 (diff) | |
download | dexon-solidity-b588134840bf604ed4fa6031fb06a89cbbd13bcd.tar.gz dexon-solidity-b588134840bf604ed4fa6031fb06a89cbbd13bcd.tar.zst dexon-solidity-b588134840bf604ed4fa6031fb06a89cbbd13bcd.zip |
[SMTChecker] Fix typo in the code (satisifable->satisfiable)
Diffstat (limited to 'libsolidity/formal/SMTChecker.cpp')
-rw-r--r-- | libsolidity/formal/SMTChecker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libsolidity/formal/SMTChecker.cpp b/libsolidity/formal/SMTChecker.cpp index d4887a3d..a8529795 100644 --- a/libsolidity/formal/SMTChecker.cpp +++ b/libsolidity/formal/SMTChecker.cpp @@ -560,7 +560,7 @@ void SMTChecker::checkCondition( } smt::CheckResult result; vector<string> values; - tie(result, values) = checkSatisifableAndGenerateModel(expressionsToEvaluate); + tie(result, values) = checkSatisfiableAndGenerateModel(expressionsToEvaluate); string conditionalComment; if (m_conditionalExecutionHappened) @@ -607,12 +607,12 @@ void SMTChecker::checkBooleanNotConstant(Expression const& _condition, string co m_interface->push(); addPathConjoinedExpression(expr(_condition)); - auto positiveResult = checkSatisifable(); + auto positiveResult = checkSatisfiable(); m_interface->pop(); m_interface->push(); addPathConjoinedExpression(!expr(_condition)); - auto negatedResult = checkSatisifable(); + auto negatedResult = checkSatisfiable(); m_interface->pop(); if (positiveResult == smt::CheckResult::ERROR || negatedResult == smt::CheckResult::ERROR) @@ -642,7 +642,7 @@ void SMTChecker::checkBooleanNotConstant(Expression const& _condition, string co } pair<smt::CheckResult, vector<string>> -SMTChecker::checkSatisifableAndGenerateModel(vector<smt::Expression> const& _expressionsToEvaluate) +SMTChecker::checkSatisfiableAndGenerateModel(vector<smt::Expression> const& _expressionsToEvaluate) { smt::CheckResult result; vector<string> values; @@ -672,9 +672,9 @@ SMTChecker::checkSatisifableAndGenerateModel(vector<smt::Expression> const& _exp return make_pair(result, values); } -smt::CheckResult SMTChecker::checkSatisifable() +smt::CheckResult SMTChecker::checkSatisfiable() { - return checkSatisifableAndGenerateModel({}).first; + return checkSatisfiableAndGenerateModel({}).first; } void SMTChecker::initializeLocalVariables(FunctionDefinition const& _function) |