diff --git a/packages/CLPBN/clpbn/bp/Parfactor.cpp b/packages/CLPBN/clpbn/bp/Parfactor.cpp index 8d49136b7..bf240599f 100644 --- a/packages/CLPBN/clpbn/bp/Parfactor.cpp +++ b/packages/CLPBN/clpbn/bp/Parfactor.cpp @@ -538,7 +538,12 @@ Parfactor::print (bool printParams) const cout << "LogVars: " << constr_->logVarSet() << endl; cout << "Ranges: " << ranges_ << endl; if (printParams == false) { - cout << "Params: " << params_ << endl; + cout << "Params: " ; + if (params_.size() <= 32) { + cout << params_ << endl; + } else { + cout << "|" << params_.size() << "|" << endl; + } } ConstraintTree copy (*constr_); copy.moveToTop (copy.logVarSet().elements());