misleading Key -> FactorIndex

release/4.3a0
Jose Luis Blanco Claraco 2019-05-27 10:13:53 +02:00
parent a6901cdfcf
commit c01134e4a5
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ GaussianFactorGraph::shared_ptr ISAM2::relinearizeAffectedFactors(
gttic(check_candidates_and_linearize);
auto linearized = boost::make_shared<GaussianFactorGraph>();
for (Key idx : candidates) {
for (const FactorIndex idx : candidates) {
bool inside = true;
bool useCachedLinear = params_.cacheLinearizedFactors;
for (Key key : nonlinearFactors_[idx]->keys()) {