Commit 457dac47 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Solver: Mage: Minor change.

No related merge requests found
Pipeline #54940 passed with stages
in 6 minutes and 49 seconds
Showing with 3 additions and 0 deletions
+3 -0
...@@ -322,6 +322,9 @@ class Mage(CommandLineSolver): ...@@ -322,6 +322,9 @@ class Mage(CommandLineSolver):
@timer @timer
def _export_LC(self, study, lateral, f, qlog, name="0"): def _export_LC(self, study, lateral, f, qlog, name="0"):
if lateral.edge is None:
return
edges = study.river.enable_edges() edges = study.river.enable_edges()
if lateral.edge not in edges: if lateral.edge not in edges:
return return
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment