Skip to content

Commit cedf9d8

Browse files
committed
python tests pass
1 parent ed5907f commit cedf9d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fwdpy11/custom_genetic_value_decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def clone(self):
33
# create a new object without initializing it
44
cloned = cls.__new__(cls)
55
# clone C++ state
6-
base.__init__(cloned, *args)
6+
base.__init__(cloned)
77
# clone Python state
88
cloned.__dict__.update(self.__dict__)
99
return cloned
@@ -19,7 +19,7 @@ def __init__(self, ndim=1):
1919
def __call__(self, cls):
2020
from fwdpy11 import GeneticValueIsTrait
2121

22-
return _make_cloner(cls, GeneticValueIsTrait, self.ndim)
22+
return _make_cloner(cls, GeneticValueIsTrait)
2323

2424

2525
def genetic_value_noise_default_clone(cls):

0 commit comments

Comments
 (0)