Fix typos detected by cppcheck

This commit is contained in:
Tiago Gomes 2013-02-13 23:47:00 +00:00
parent 57f46e7c0d
commit bf1ba17855
2 changed files with 4 additions and 4 deletions

View File

@ -66,9 +66,9 @@ MsgSchedule BeliefProp::schedule_ = MsgSchedule::seqFixedSch;
BeliefProp::BeliefProp (const FactorGraph& fg) : GroundSolver (fg)
BeliefProp::BeliefProp (const FactorGraph& fg)
: GroundSolver (fg), nIters_(0), runned_(false)
{
runned_ = false;
}

View File

@ -44,7 +44,7 @@ class CTNode {
Symbol symbol (void) const { return symbol_; }
void setSymbol (const Symbol s) { symbol_ = s; }
void setSymbol (Symbol s) { symbol_ = s; }
CTChilds& childs (void) { return childs_; }
@ -237,8 +237,8 @@ ConstraintTree::logVarSet (void) const
inline size_t
ConstraintTree::nrLogVars (void) const
{
return logVars_.size();
assert (LogVarSet (logVars_) == logVarSet_);
return logVars_.size();
}
} // namespace Horus