-
Notifications
You must be signed in to change notification settings - Fork 16
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
Bug in SM-2 algorithm? #1
Comments
@suragch
case so it is indeed handled. |
I am trying to get back to maintaining this. I agree with @15921483570 , the algorithm as documented should not change the interval if the repetitions are at zero, and it doesn't matter because of the way the cards are run. However, Given that the package separates the core card update code from |
Should it be >= rather than ==. (Otherwise self.repetitions == 0 is not handled.)
if self.repetitions == 1: self.interval = 1
https://github.com/theq629/fulgurate/blob/master/cards.py#L34
The text was updated successfully, but these errors were encountered: