Skip to content

Commit b8ef41a

Browse files
committed
On The Dangers of Copy Pasting (Juhel 2026)
1 parent 25fbcda commit b8ef41a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

climada/trajectories/snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(
8787
self._exposure = exposure if ref_only else copy.deepcopy(exposure)
8888
self._hazard = hazard if ref_only else copy.deepcopy(hazard)
8989
self._impfset = impfset if ref_only else copy.deepcopy(impfset)
90-
self._measure = measure if ref_only else copy.deepcopy(impfset)
90+
self._measure = measure if ref_only else copy.deepcopy(measure)
9191
self._date = self._convert_to_date(date)
9292

9393
@classmethod

0 commit comments

Comments
 (0)