Skip to content

Commit

Permalink
Fix compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Oct 3, 2023
1 parent d903c17 commit 381f517
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/search/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@ create_fast_downward_library(
operator_counting/delete_relaxation_constraints
operator_counting/lm_cut_constraints
operator_counting/operator_counting_heuristic
operator_counting/pho_abstraction_constraints
operator_counting/pho_constraints
operator_counting/state_equation_constraints
DEPENDS lp_solver landmark_cut_heuristic pdbs task_properties
Expand Down
4 changes: 2 additions & 2 deletions src/search/cartesian_abstractions/flaw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using namespace std;

namespace cartesian_abstractions {
const FlawedState FlawedState::no_state = FlawedState(-1, -1, {});
const FlawedState FlawedState::no_state = FlawedState(-1, -1u, {});

bool FlawedStates::is_consistent() const {
return flawed_states_queue.size() == static_cast<int>(flawed_states.size());
Expand Down Expand Up @@ -53,7 +53,7 @@ FlawedState FlawedStates::pop_random_flawed_state_and_clear(utils::RandomNumberG
vector<StateID> conc_states = move(random_bucket->second);
clear();
assert(is_consistent());
return FlawedState(abstract_state_id, -1, move(conc_states));
return FlawedState(abstract_state_id, -1u, move(conc_states));
}

int FlawedStates::num_abstract_states() const {
Expand Down

0 comments on commit 381f517

Please sign in to comment.