mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Split reach: handling the case where the reach is split on a data used to define a data (an initial condition for example)
This commit is contained in:
1 parent
3d467c9620
commit
dd31ffc5a2
8 files changed
+20
-14
No files matched your search
@@ -204,7 +204,7 @@ class WeatherParametersList(PamhyrModelList):
|
||||
for new_reach, part_lower, part_upper, sections in parts:
|
||||
clipped_lower = max(lower, part_lower)
|
||||
clipped_upper = min(upper, part_upper)
|
||||
if clipped_lower > clipped_upper:
|
||||
if clipped_lower >= clipped_upper:
|
||||
continue
|
||||
|
||||
begin_index = clipped_upper if reverse else clipped_lower
|
||||
|
||||
Reference in new issue
Block a user