We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa8d217 commit 06b3df9Copy full SHA for 06b3df9
core/src/storage.cpp
@@ -106,8 +106,10 @@ void Interface::add(InterfaceState& state) {
106
it->priority_ = InterfaceState::Priority(1, state.incomingTrajectories().front()->cost());
107
else if (!state.outgoingTrajectories().empty())
108
it->priority_ = InterfaceState::Priority(1, state.outgoingTrajectories().front()->cost());
109
- else // otherwise, assume priority was well defined before
110
- assert(it->priority_.enabled() && it->priority_.depth() >= 1u);
+ else { // otherwise, assume priority was well defined before
+ assert(it->priority_.enabled());
111
+ assert(it->priority_.depth() >= 1u);
112
+ }
113
114
// move list node into interface's state list (sorted by priority)
115
moveFrom(it, container);
0 commit comments