fix scaling
parent
fab06a33a0
commit
897b05f318
|
@ -222,8 +222,6 @@ namespace gtsam {
|
||||||
// sum out frontals, this is the factor on the separator
|
// sum out frontals, this is the factor on the separator
|
||||||
gttic(sum);
|
gttic(sum);
|
||||||
DiscreteFactor::shared_ptr sum = product->sum(frontalKeys);
|
DiscreteFactor::shared_ptr sum = product->sum(frontalKeys);
|
||||||
// Normalize/scale to prevent underflow.
|
|
||||||
sum = sum->scale();
|
|
||||||
gttoc(sum);
|
gttoc(sum);
|
||||||
|
|
||||||
// Normalize/scale to prevent underflow.
|
// Normalize/scale to prevent underflow.
|
||||||
|
|
Loading…
Reference in New Issue