minor readjustment
parent
a23322350c
commit
8f5689b762
|
@ -238,13 +238,14 @@ hybridElimination(const HybridGaussianFactorGraph &factors,
|
||||||
keysOfEliminated = conditional_factor.first->keys();
|
keysOfEliminated = conditional_factor.first->keys();
|
||||||
keysOfSeparator = conditional_factor.second->keys();
|
keysOfSeparator = conditional_factor.second->keys();
|
||||||
|
|
||||||
|
GaussianConditional::shared_ptr conditional = conditional_factor.first;
|
||||||
|
// Get the log of the log normalization constant inverse.
|
||||||
|
double logZ = -conditional->logNormalizationConstant() + graph_z.constant;
|
||||||
|
|
||||||
#ifdef HYBRID_TIMING
|
#ifdef HYBRID_TIMING
|
||||||
gttoc_(hybrid_eliminate);
|
gttoc_(hybrid_eliminate);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GaussianConditional::shared_ptr conditional = conditional_factor.first;
|
|
||||||
// Get the log of the log normalization constant inverse.
|
|
||||||
double logZ = -conditional->logNormalizationConstant() + graph_z.constant;
|
|
||||||
return {conditional, {conditional_factor.second, logZ}};
|
return {conditional, {conditional_factor.second, logZ}};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue