Skip to content

Commit

Permalink
enable constructor arguments to be non-optional (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCaseres authored Jan 22, 2024
1 parent 392467c commit 93678af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainladder/core/triangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def broadcast_axis(self, axis, value):
return self

def copy(self):
X = Triangle()
X = object.__new__(self.__class__)
X.__dict__.update(vars(self))
X._set_slicers()
X.values = X.values.copy()
Expand Down

0 comments on commit 93678af

Please sign in to comment.