Made constructors explicit
parent
bcd663244a
commit
4205f7d32f
|
|
@ -81,7 +81,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/** BayesNet with 1 conditional */
|
/** BayesNet with 1 conditional */
|
||||||
BayesNet(const sharedConditional& conditional) { push_back(conditional); }
|
explicit BayesNet(const sharedConditional& conditional) { push_back(conditional); }
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Testable
|
/// @name Testable
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ namespace gtsam {
|
||||||
BayesTree() {}
|
BayesTree() {}
|
||||||
|
|
||||||
/** Create a Bayes Tree from a Bayes Net (requires CONDITIONAL is IndexConditional *or* CONDITIONAL::Combine) */
|
/** Create a Bayes Tree from a Bayes Net (requires CONDITIONAL is IndexConditional *or* CONDITIONAL::Combine) */
|
||||||
BayesTree(const BayesNet<CONDITIONAL>& bayesNet);
|
explicit BayesTree(const BayesNet<CONDITIONAL>& bayesNet);
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Advanced Constructors
|
/// @name Advanced Constructors
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue