fix comment

release/4.3a0
Varun Agrawal 2024-02-19 11:33:13 -05:00
parent 6d7dc57599
commit f12a24e00c
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ static std::shared_ptr<Factor> createDiscreteFactor(
// Logspace version of:
// exp(-factor->error(kEmpty)) * conditional->normalizationConstant();
// We take negative of the logNormalizationConstant (1/k) to get k
// We take negative of the logNormalizationConstant `log(1/k)` to get `log(k)`.
return -factor->error(kEmpty) + (-conditional->logNormalizationConstant());
};