Skip to content

Commit

Permalink
Remove another unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Nov 29, 2024
1 parent edb2912 commit cff78b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/search/operator_counting/pho_abstraction_constraints.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ void PhOAbstractionConstraints::initialize_constraints(

if (saturated) {
useless_operators.resize(num_ops, false);
int abstraction_id = 0;
for (auto &abstraction : abstractions) {
// Add constraint \sum_{o} Y_o * scf_h(o) >= 0.
lp::LPConstraint constraint(0, lp.get_infinity());
Expand All @@ -61,10 +60,8 @@ void PhOAbstractionConstraints::initialize_constraints(
constraints.push_back(move(constraint));
}
h_values_by_abstraction.push_back(move(h_values));
++abstraction_id;
}
} else {
int abstraction_id = 0;
for (auto &abstraction : abstractions) {
lp::LPConstraint constraint(0, lp.get_infinity());
for (int op_id = 0; op_id < num_ops; ++op_id) {
Expand All @@ -81,7 +78,6 @@ void PhOAbstractionConstraints::initialize_constraints(
}
h_values_by_abstraction.push_back(
abstraction->compute_goal_distances(operator_costs));
++abstraction_id;
}
}

Expand Down

0 comments on commit cff78b5

Please sign in to comment.