Skip to content

Commit

Permalink
missed
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Nov 15, 2023
1 parent 68ee924 commit 0506d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions swig/edata.i
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ def __repr__(self):

def __eq__(self, other):
return isinstance(other, self.__class__) and __eq__(self, other)

def __deepcopy__(self, memo):
# invoke copy constructor
return type(self)(self)
%}
};
%extend std::unique_ptr<amici::ExpData> {
Expand Down

0 comments on commit 0506d09

Please sign in to comment.