IC: Fix profile side effect on IC generator.

setup.py
Pierre-Antoine Rouby 2023-11-21 16:06:37 +01:00
parent edf744eee1
commit 9fe1b35a59
1 changed files with 1 additions and 1 deletions

View File

@ -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