mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Solver: Mage: Fix read bin.
This commit is contained in:
1 parent
f56d87f648
commit
7ae64d390f
1 file changed
+2
-4
+2
-4
@@ -1009,10 +1009,8 @@ class Mage8(Mage):
|
||||
# Set data for profile RI
|
||||
reach.set(ri, timestamp, key, d)
|
||||
if key == "Z":
|
||||
profile = study.river\
|
||||
.current_reach()\
|
||||
.reach.profile(ri)
|
||||
ptX, ptY = profile.get_water_limits(d)
|
||||
profile = reach.profile(ri)
|
||||
ptX, ptY = profile.geometry.get_water_limits(d)
|
||||
reach.set(ri, timestamp, "ptX", ptX)
|
||||
reach.set(ri, timestamp, "ptY", ptY)
|
||||
|
||||
|
||||
Reference in new issue
Block a user