Fix typos detected by cppcheck
This commit is contained in:
parent
57f46e7c0d
commit
bf1ba17855
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ class CTNode {
|
|||||||
|
|
||||||
Symbol symbol (void) const { return symbol_; }
|
Symbol symbol (void) const { return symbol_; }
|
||||||
|
|
||||||
void setSymbol (const Symbol s) { symbol_ = s; }
|
void setSymbol (Symbol s) { symbol_ = s; }
|
||||||
|
|
||||||
CTChilds& childs (void) { return childs_; }
|
CTChilds& childs (void) { return childs_; }
|
||||||
|
|
||||||
@ -237,8 +237,8 @@ ConstraintTree::logVarSet (void) const
|
|||||||
inline size_t
|
inline size_t
|
||||||
ConstraintTree::nrLogVars (void) const
|
ConstraintTree::nrLogVars (void) const
|
||||||
{
|
{
|
||||||
return logVars_.size();
|
|
||||||
assert (LogVarSet (logVars_) == logVarSet_);
|
assert (LogVarSet (logVars_) == logVarSet_);
|
||||||
|
return logVars_.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Horus
|
} // namespace Horus
|
||||||
|
Reference in New Issue
Block a user