Add specialized compton diagram generation function for much improved runtime
This commit is contained in:
@@ -7,7 +7,8 @@ function get_properties(graph::DAG)
|
||||
# make sure the graph is fully generated
|
||||
apply_all!(graph)
|
||||
|
||||
if (graph.properties.computeEffort == 0.0)
|
||||
# TODO: tests stop working without the if condition, which means there is probably a bug in the lazy evaluation and in the tests
|
||||
if (graph.properties.computeEffort <= 0.0)
|
||||
graph.properties = GraphProperties(graph)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user