don't check for 0 continuous keys when printing GaussianMixtureFactor as it is possible to have non-zero discrete keys
parent
bd241f61ec
commit
8dd2bed6c1
|
|
@ -66,7 +66,7 @@ void GaussianMixtureFactor::print(const std::string &s,
|
||||||
[&](const sharedFactor &gf) -> std::string {
|
[&](const sharedFactor &gf) -> std::string {
|
||||||
RedirectCout rd;
|
RedirectCout rd;
|
||||||
std::cout << ":\n";
|
std::cout << ":\n";
|
||||||
if (gf && !gf->empty()) {
|
if (gf) {
|
||||||
gf->print("", formatter);
|
gf->print("", formatter);
|
||||||
return rd.str();
|
return rd.str();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue