Skip to content

Commit

Permalink
Fix/workload graph (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock authored Mar 10, 2024
1 parent e411f68 commit 355b8d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.26.1"
version = "4.26.2"
readme = "README.md"
dependencies = [
"matplotlib>=3.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/fsrs_optimizer/fsrs_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def brent(tol=0.01, maxiter=20, **kwargs):

def workload_graph(default_params):
R = [x / 100 for x in range(70, 100)]
cost_per_memorization = [1 / sample(r, **default_params) for r in R]
cost_per_memorization = [sample(r, **default_params) for r in R]

# this is for testing
# cost_per_memorization = [min(x, 2.3 * min(cost_per_memorization)) for x in cost_per_memorization]
Expand Down

0 comments on commit 355b8d5

Please sign in to comment.