mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug where recalculating a schedule with no time data would fail
This commit is contained in:
@@ -36,6 +36,9 @@ class Usecase:
|
||||
self.start_dates = []
|
||||
self.build_network_graph()
|
||||
|
||||
if not self.start_dates:
|
||||
return
|
||||
|
||||
self.pending_nodes = set(self.g.nodes)
|
||||
while self.pending_nodes:
|
||||
remaining_nodes = set()
|
||||
|
||||
Reference in New Issue
Block a user