Skip to content

Commit

Permalink
Disable direct assign erase
Browse files Browse the repository at this point in the history
  • Loading branch information
TadaKazuto committed Mar 9, 2025
1 parent e97824b commit e083ae4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ void DataAssociation::assign(
// Solve
gnn_solver_ptr_->maximizeLinearAssignment(score, &direct_assignment, &reverse_assignment);

/*
for (auto itr = direct_assignment.begin(); itr != direct_assignment.end();) {
if (src(itr->first, itr->second) < score_threshold_) {
itr = direct_assignment.erase(itr);
Expand All @@ -136,7 +137,7 @@ void DataAssociation::assign(
++itr;
}
}
/*
for (auto itr = reverse_assignment.begin(); itr != reverse_assignment.end();) {
if (src(itr->second, itr->first) < score_threshold_) {
itr = reverse_assignment.erase(itr);
Expand Down

0 comments on commit e083ae4

Please sign in to comment.