mirror of https://gitlab.com/pamhyr/pamhyr2
IC: Fix profile side effect on IC generator.
parent
edf744eee1
commit
9fe1b35a59
|
|
@ -355,7 +355,7 @@ class InitialConditions(SQLSubModel):
|
|||
def generate_growing_constante_height(self, height: float):
|
||||
self._data = []
|
||||
|
||||
profiles = self._reach.reach.profiles
|
||||
profiles = self._reach.reach.profiles.copy()
|
||||
self._sort_by_z_and_kp(profiles)
|
||||
|
||||
prev = None
|
||||
|
|
|
|||
Loading…
Reference in New Issue