Skip to content

Commit

Permalink
Merge branch 'fix/heuristic-assert'
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Nov 9, 2021
2 parents 4e6f864 + 17e36d7 commit 4d6bc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct HeuristicParameters {
// Only makes sense for user-defined initial routes.
constexpr HeuristicParameters(HEURISTIC heuristic)
: heuristic(heuristic), init(INIT::NONE), regret_coeff(0) {
assert(heuristic = HEURISTIC::INIT_ROUTES);
assert(heuristic == HEURISTIC::INIT_ROUTES);
}
};

Expand Down

0 comments on commit 4d6bc4e

Please sign in to comment.