Skip to content

Commit d145872

Browse files
committed
comment update
1 parent c71f033 commit d145872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gtsam/hybrid/HybridGaussianFactorGraph.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ static std::shared_ptr<Factor> createDiscreteFactor(
329329

330330
// Logspace version of:
331331
// exp(-factor->error(kEmpty)) / conditional->normalizationConstant();
332-
// We take negative of the logNormalizationConstant `log(1/k)`
333-
// to get `log(k)`.
332+
// We take negative of the logNormalizationConstant `log(k)`
333+
// to get `log(1/k) = log(\sqrt{|2πΣ|})`.
334334
return -factor->error(kEmpty) - conditional->logNormalizationConstant();
335335
};
336336

0 commit comments

Comments
 (0)