Skip to content

Commit

Permalink
add self arg to ad_spend_parameters check
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanAugust committed Jan 29, 2024
1 parent 5c64109 commit df9979f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pysimmmulator/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __post_init__(self):
0 < v["max"] <= 1
), "Max spend must be between 0 and 1 for each channel"

def check(basic_params: basic_parameters):
def check(self, basic_params: basic_parameters):
assert (
len(self.max_min_proportion_on_each_channel.keys()) - 1
== len(basic_params.all_channels)
Expand Down

0 comments on commit df9979f

Please sign in to comment.