Skip to content

Commit

Permalink
Allow parameter to be passed in fixed.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow authored Aug 7, 2024
1 parent 704d729 commit 6bc0f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swiftemulator/mean_models/fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class FixedMeanModel(MeanModel):
model and does not allow it to be changed.
"""

model: float
model: float = attr.ib(default=1.0)

def train(self, independent: np.ndarray, dependent: np.ndarray) -> None:
"""
Expand Down

0 comments on commit 6bc0f31

Please sign in to comment.