better GaussianMixture printing

release/4.3a0
Varun Agrawal 2024-08-25 01:50:57 -04:00
parent 019dad976e
commit 1725deff1b
1 changed files with 3 additions and 2 deletions

View File

@ -144,8 +144,9 @@ void GaussianMixture::print(const std::string &s,
for (auto &dk : discreteKeys()) {
std::cout << "(" << formatter(dk.first) << ", " << dk.second << "), ";
}
std::cout << "\n logNormalizationConstant: " << logConstant_ << std::endl;
std::cout << "\n";
std::cout << std::endl
<< " logNormalizationConstant: " << logConstant_ << std::endl
<< std::endl;
conditionals_.print(
"", [&](Key k) { return formatter(k); },
[&](const GaussianConditional::shared_ptr &gf) -> std::string {