mirror of https://gitlab.com/pamhyr/pamhyr2
debug
parent
5aef0bbf3c
commit
3e8132646d
|
|
@ -462,6 +462,9 @@ class InitialConditions(SQLSubModel):
|
||||||
|
|
||||||
if not compute_height:
|
if not compute_height:
|
||||||
height = data_height[profile.rk]
|
height = data_height[profile.rk]
|
||||||
|
else:
|
||||||
|
if abs(incline) <= 0:
|
||||||
|
height = 0.0
|
||||||
else:
|
else:
|
||||||
height = (
|
height = (
|
||||||
discharge
|
discharge
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue