From f75b85afe934164911ca7b37fee667d97aa68132 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Fri, 18 Aug 2023 14:12:30 -0700 Subject: [PATCH] okay, now we're cooking --- fwdpy11/genetic_values.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fwdpy11/genetic_values.py b/fwdpy11/genetic_values.py index ea0ba8b0a..c97d8f63d 100644 --- a/fwdpy11/genetic_values.py +++ b/fwdpy11/genetic_values.py @@ -142,11 +142,11 @@ def __eq__(self, other): @attr.s(auto_attribs=True, frozen=True, repr_ns="fwdpy11") class GaussianStabilizingSelection(_ll_GaussianStabilizingSelection): @classmethod - def single_trait(optima): + def single_trait(cls, optima): raise NotImplementedError @classmethod - def pleiotropy(optima): + def pleiotropy(cls, optima): raise NotImplementedError