Small fixes for TBB/Timing path
parent
c33bb7a89a
commit
304f12b106
|
|
@ -130,7 +130,7 @@ void ClusterTree<BAYESTREE, GRAPH>::Cluster::print(const std::string& s,
|
|||
template<class BAYESTREE, class GRAPH>
|
||||
void ClusterTree<BAYESTREE, GRAPH>::Cluster::mergeChildren(
|
||||
const std::vector<bool>& merge) {
|
||||
gttic(Cluster::mergeChildren);
|
||||
gttic(Cluster_mergeChildren);
|
||||
|
||||
// Count how many keys, factors and children we'll end up with
|
||||
size_t nrKeys = orderedFrontalKeys.size();
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ GaussianFactorGraph::shared_ptr NonlinearFactorGraph::linearize(const Values& li
|
|||
// linearize all factors
|
||||
BOOST_FOREACH(const sharedFactor& factor, this->factors_) {
|
||||
if(factor) {
|
||||
(*linearFG) += factor->linearize(linearizationPoint_);
|
||||
(*linearFG) += factor->linearize(linearizationPoint);
|
||||
} else
|
||||
(*linearFG) += GaussianFactor::shared_ptr();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue