expose DiscreteKeysAsSet as a function
parent
40d38651cc
commit
82f328b808
|
|
@ -129,7 +129,6 @@ void GaussianMixture::print(const std::string &s,
|
|||
}
|
||||
|
||||
/* ************************************************************************* */
|
||||
/// Return the DiscreteKey vector as a set.
|
||||
std::set<DiscreteKey> DiscreteKeysAsSet(const DiscreteKeys &dkeys) {
|
||||
std::set<DiscreteKey> s;
|
||||
s.insert(dkeys.begin(), dkeys.end());
|
||||
|
|
|
|||
|
|
@ -162,6 +162,9 @@ class GTSAM_EXPORT GaussianMixture
|
|||
Sum add(const Sum &sum) const;
|
||||
};
|
||||
|
||||
/// Return the DiscreteKey vector as a set.
|
||||
std::set<DiscreteKey> DiscreteKeysAsSet(const DiscreteKeys &dkeys);
|
||||
|
||||
// traits
|
||||
template <>
|
||||
struct traits<GaussianMixture> : public Testable<GaussianMixture> {};
|
||||
|
|
|
|||
Loading…
Reference in New Issue