Skip to content

Commit 47741e3

Browse files
authored
Merge 70c0ccd into sapling-pr-archive-ktf
2 parents 18507d7 + 70c0ccd commit 47741e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Framework/Core/src/WorkflowHelpers.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,10 @@ void WorkflowHelpers::constructGraph(const WorkflowSpec& workflow,
756756
std::vector<OutputSpec>& outputs,
757757
std::vector<LogicalForwardInfo>& forwardedInputsInfo)
758758
{
759-
assert(!workflow.empty());
759+
// In case the workflow is empty, we do not have anything to do.
760+
if (workflow.empty()) {
761+
return;
762+
}
760763

761764
// This is the state. Oif is the iterator I use for the searches.
762765
std::vector<LogicalOutputInfo> availableOutputsInfo;

0 commit comments

Comments
 (0)