Normalization Constant Sign Bug
DanMcGann opened this issue · 1 comments
DanMcGann commented
It appears that there is a minor bug in the computation of a DCFactor
normalization constant.
dcsam/include/dcsam/DCFactor.h
Lines 228 to 230 in 92af419
Specifically, the sign of the d/2 log(2 * pi)
term. It would be worth it to double check my maths, but I derive that that term is positive...
While this does not affect the maximal component, it would cause issues if one assumes that errors are properly normalized.
keevindoherty commented
Hi @DanMcGann - this is a great catch. Thanks for this! Yes, your math looks right :)
I'll push a fix for this ASAP.