mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Solver: Mage: Fix empty HS error and space in input param.
This commit is contained in:
1 parent
870cba5005
commit
e86111bd7a
2 files changed
+4
-1
No files matched your search
@@ -462,6 +462,9 @@ class Mage(CommandLineSolver):
|
||||
files.append(f"{name}.SIN")
|
||||
|
||||
for hs in hydraulic_structures:
|
||||
if hs.input_reach is None:
|
||||
continue
|
||||
|
||||
if not hs.input_reach.is_enable():
|
||||
continue
|
||||
|
||||
|
||||
Reference in new issue
Block a user