Fixed warning
parent
cd5c0095ce
commit
5e5a3b0f24
|
|
@ -601,7 +601,6 @@ namespace gtsam {
|
||||||
template<class CONDITIONAL>
|
template<class CONDITIONAL>
|
||||||
typename BayesTree<CONDITIONAL>::sharedClique BayesTree<CONDITIONAL>::insert(
|
typename BayesTree<CONDITIONAL>::sharedClique BayesTree<CONDITIONAL>::insert(
|
||||||
const sharedConditional& clique, list<sharedClique>& children, bool isRootClique) {
|
const sharedConditional& clique, list<sharedClique>& children, bool isRootClique) {
|
||||||
static const bool debug = false;
|
|
||||||
|
|
||||||
if (clique->nrFrontals() == 0)
|
if (clique->nrFrontals() == 0)
|
||||||
throw invalid_argument("BayesTree::insert: empty clique!");
|
throw invalid_argument("BayesTree::insert: empty clique!");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue