Small cleanup

release/4.3a0
Richard Roberts 2012-03-12 01:25:54 +00:00
parent 0d216c8878
commit 19d1514008
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ template<class CONDITIONAL, class CLIQUE> class BayesTree;
/** convert from a derived type */
template<class DERIVEDFACTOR>
FactorGraph(const FactorGraph<DERIVEDFACTOR>& factors) {
factors_.insert(end(), factors.begin(), factors.end());
factors_.assign(factors.begin(), factors.end());
}
/// @}