don't check if GaussianFactor has no contKeys since it may not (e.g. GaussianMixtureModel)
parent
91ccbebf22
commit
3d8383089b
|
@ -66,7 +66,7 @@ void GaussianMixtureFactor::print(const std::string &s,
|
|||
[&](const sharedFactor &gf) -> std::string {
|
||||
RedirectCout rd;
|
||||
std::cout << ":\n";
|
||||
if (gf && !gf->empty()) {
|
||||
if (gf) {
|
||||
gf->print("", formatter);
|
||||
return rd.str();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue