summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-23 18:46:03 +0300
committerThanos Apollo <[email protected]>2024-07-23 18:46:03 +0300
commit293684279e55c14bb9a819a40ecfaddec5febe72 (patch)
tree980d665b1ed6388d5428d217976e963a6e0664e6
parent8d20fc3183ab2ce486d76df452144d3b1ea7edda (diff)
edit:(decks) Remove asserts for initial-interval length.
* Initial interval can be more than 2 items.
-rw-r--r--gnosis.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index bd27619..7f207f8 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1900,8 +1900,7 @@ INITIAL-INTERVAL: Initial interval for notes of deck"
(gnosis-assert-int-or-nil ef-threshold "ef-threshold must be an integer")
(gnosis-assert-number-or-nil ef-increase "ef-increase must be a number")
(cl-assert (or (and (listp initial-interval)
- (and (cl-every #'integerp initial-interval)
- (length= initial-interval 2)))
+ (cl-every #'integerp initial-interval))
(null initial-interval))
nil "Initial-interval must be a list of 2 integers")
(cl-loop for (field . value) in