Commit 9fe1b35a authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

IC: Fix profile side effect on IC generator.

Showing with 1 addition and 1 deletion
+1 -1
...@@ -355,7 +355,7 @@ class InitialConditions(SQLSubModel): ...@@ -355,7 +355,7 @@ class InitialConditions(SQLSubModel):
def generate_growing_constante_height(self, height: float): def generate_growing_constante_height(self, height: float):
self._data = [] self._data = []
profiles = self._reach.reach.profiles profiles = self._reach.reach.profiles.copy()
self._sort_by_z_and_kp(profiles) self._sort_by_z_and_kp(profiles)
prev = None prev = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment