diff --git a/packages/CLPBN/horus/Parfactor.cpp b/packages/CLPBN/horus/Parfactor.cpp index cac3b4f3d..d6874123a 100644 --- a/packages/CLPBN/horus/Parfactor.cpp +++ b/packages/CLPBN/horus/Parfactor.cpp @@ -123,15 +123,6 @@ Parfactor::exclusiveLogVars (size_t fIdx) const -void -Parfactor::setConstraintTree (ConstraintTree* newTree) -{ - delete constr_; - constr_ = newTree; -} - - - void Parfactor::sumOut (size_t fIdx) { diff --git a/packages/CLPBN/horus/Parfactor.h b/packages/CLPBN/horus/Parfactor.h index 401acc25e..563285257 100644 --- a/packages/CLPBN/horus/Parfactor.h +++ b/packages/CLPBN/horus/Parfactor.h @@ -43,9 +43,7 @@ class Parfactor : public TFactor LogVarSet elimLogVars (void) const; LogVarSet exclusiveLogVars (size_t fIdx) const; - - void setConstraintTree (ConstraintTree*); - + void sumOut (size_t fIdx); void multiply (Parfactor&);