Skip to content

Commit

Permalink
Fix critical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceyron committed Mar 28, 2024
1 parent 28a19a6 commit 9c91798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exponax/normalized/_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
difficulty: float = -2.0,
order: int = 1,
):
difficulties = (0.0,) * (order - 1) + (difficulty,)
difficulties = (0.0,) * (order) + (difficulty,)
super().__init__(
difficulties=difficulties,
num_spatial_dims=num_spatial_dims,
Expand Down

0 comments on commit 9c91798

Please sign in to comment.