Skip to content

Commit

Permalink
Fix filtering in SM2 dashboard overview
Browse files Browse the repository at this point in the history
  • Loading branch information
l3kn committed Mar 18, 2024
1 parent 3f8560e commit cf30928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-fc-algo-sm2.el
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Returns nil if there is no history file."
(avg-ease 0.0) (avg-box 0.0) (avg-interval 0.0))
(dolist (card cards)
(unless (or (oref card suspended)
(not (eq (oref card algo) 'sm2)))
(not (equal (eieio-object-class (oref card algo)) 'org-fc-algo-sm2)))
(dolist (pos (oref card positions))
(cl-incf pos-count 1)
(cl-incf avg-ease (plist-get (oref pos data) :ease))
Expand Down

0 comments on commit cf30928

Please sign in to comment.