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 3b6c13e commit b7f8093Copy full SHA for b7f8093
core/src/container.cpp
@@ -353,7 +353,13 @@ inline void updateStatePrios(const SolutionSequence::container_type& partial_sol
353
}
354
355
void SerialContainer::onNewSolution(const SolutionBase& current) {
356
+ // failures should never trigger this callback
357
assert(!current.isFailure());
358
+
359
+ // states of solution must be active, otherwise this would not have been computed
360
+ assert(current.start()->priority().enabled());
361
+ assert(current.end()->priority().enabled());
362
363
auto impl = pimpl();
364
const Stage* creator = current.creator();
365
auto& children = impl->children();
0 commit comments