Skip to content

Commit

Permalink
fixed minor bug in deprecation for poiss/bern
Browse files Browse the repository at this point in the history
  • Loading branch information
ago109 committed Jul 25, 2024
1 parent efa61a5 commit 223d3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngclearn/components/input_encoders/bernoulliCell.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class BernoulliCell(JaxComponent):
"""

@deprecate_args(max_freq="target_freq")
def __init__(self, name, n_units, target_freq=63.75, batch_size=1, **kwargs):
def __init__(self, name, n_units, target_freq=0., batch_size=1, **kwargs):
super().__init__(name, **kwargs)

## Constrained Bernoulli meta-parameters
Expand Down

0 comments on commit 223d3c0

Please sign in to comment.