Skip to content

Commit

Permalink
Fix clang-tidy errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Nov 29, 2024
1 parent 6fe2e43 commit 67270ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/search/cartesian_abstractions/flaw_search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ unique_ptr<Split> FlawSearch::get_split(const utils::CountdownTimer &cegar_timer
}

if (split) {
assert(!(pick_flawed_abstract_state == PickFlawedAbstractState::MAX_H
|| pick_flawed_abstract_state == PickFlawedAbstractState::MIN_H)
assert((pick_flawed_abstract_state != PickFlawedAbstractState::MAX_H
&& pick_flawed_abstract_state != PickFlawedAbstractState::MIN_H)
|| best_flaw_h == get_h_value(split->abstract_state_id));
}
return split;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ using namespace std;
namespace cost_saturation {
SaturatedCostPartitioningOnlineHeuristic::SaturatedCostPartitioningOnlineHeuristic(
const shared_ptr<OrderGenerator> &order_generator,
const Saturator saturator,
const CPFunction cp_function,
Saturator saturator,
const CPFunction &cp_function,
Abstractions &&abstractions_,
unique_ptr<DeadEnds> &&dead_ends_,
const int interval,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ class SaturatedCostPartitioningOnlineHeuristic : public Heuristic {
public:
SaturatedCostPartitioningOnlineHeuristic(
const std::shared_ptr<OrderGenerator> &order_generator,
const Saturator saturator,
const CPFunction cp_function,
Saturator saturator,
const CPFunction &cp_function,
Abstractions &&abstractions_,
std::unique_ptr<DeadEnds> &&dead_ends_,
const int interval,
const double max_time,
const int max_size_kb,
const bool debug,
int interval,
double max_time,
int max_size_kb,
bool debug,
const std::shared_ptr<AbstractTask> &transform, bool cache_estimates,
const std::string &description, utils::Verbosity verbosity);
virtual ~SaturatedCostPartitioningOnlineHeuristic() override;
Expand Down

0 comments on commit 67270ad

Please sign in to comment.