Skip to content

Commit

Permalink
Add damping_min on copy() of Layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkottke committed Dec 16, 2024
1 parent 0b432bb commit 47a1c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pystrata/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ def __hash__(self):

def copy(self) -> Layer:
"""Return a copy of the Layer instance with previously defined SoilType."""
return Layer(self.soil_type, self.thickness, self.shear_vel)
return Layer(self.soil_type, self.thickness, self.shear_vel, self.damping_min)

@property
def depth(self) -> float:
Expand Down

0 comments on commit 47a1c20

Please sign in to comment.