Skip to content

Commit

Permalink
Fix/loosen the clamping for w[10] and w[8] (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Aug 16, 2023
1 parent c353aee commit 95694b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "FSRS-Optimizer"
version = "4.12.0"
version = "4.12.1"
readme = "README.md"
dependencies = [
"matplotlib>=3.7.0",
Expand Down
4 changes: 2 additions & 2 deletions src/fsrs_optimizer/fsrs_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def __call__(self, module):
w[5] = w[5].clamp(0.1, 5)
w[6] = w[6].clamp(0.1, 5)
w[7] = w[7].clamp(0, 0.5)
w[8] = w[8].clamp(0, 2)
w[8] = w[8].clamp(0, 3)
w[9] = w[9].clamp(0.1, 0.8)
w[10] = w[10].clamp(0.01, 1.5)
w[10] = w[10].clamp(0.01, 2.5)
w[11] = w[11].clamp(0.5, 5)
w[12] = w[12].clamp(0.01, 0.2)
w[13] = w[13].clamp(0.01, 0.9)
Expand Down

0 comments on commit 95694b7

Please sign in to comment.