Skip to content

Commit

Permalink
Fixed bug in reviewLog.swift (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerbeil authored Apr 30, 2024
1 parent 940e0ad commit c069621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/FSRS/FSRS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public struct SchedulingInfo {
self.card = reference
self.reviewLog = ReviewLog(
rating: rating,
elapsedDays: reference.scheduledDays,
scheduledDays: current.elapsedDays,
elapsedDays: reference.elapsedDays,
scheduledDays: current.scheduledDays,
review: review,
status: current.status
)
Expand Down

0 comments on commit c069621

Please sign in to comment.