Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal division by 0 #36

Open
RGBCube opened this issue Jun 10, 2024 · 0 comments · May be fixed by #37
Open

Illegal division by 0 #36

RGBCube opened this issue Jun 10, 2024 · 0 comments · May be fixed by #37

Comments

@RGBCube
Copy link

RGBCube commented Jun 10, 2024

  1. Slow down the program to 0 WPM by pressing [.
  2. Pause using space.
  3. Unpause using space.
  4. Get error:
Illegal division by zero at /nix/store/hm9q7cmvf849qcp4kh0hf4xv42g3g3j4-speedread-unstable-2016-09-21/bin/speedread line 138, <> line 7.
adlai added a commit to adlai/speedread that referenced this issue Jun 11, 2024
Fix pasky#36

Before, lowering the WPM below 10 would make it only possible to
crash the program by lowering all the way to zero; now, the WPM is
capped above zero, rises by one until ten, and pauses when lowering
below one. It is reasonably intuitive and an edge case anyways.
@adlai adlai linked a pull request Jun 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant