Small fixes for TBB/Timing path

release/4.3a0
Frank Dellaert 2015-06-22 00:33:35 -07:00
parent c33bb7a89a
commit 304f12b106
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();
}