Skip to content

Commit

Permalink
Fix loginfo guards (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavePearce authored Jun 12, 2024
1 parent f669653 commit 54c1801
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions loginfo/constraints.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun (is-log0-to-log4)
(force-bool (+ (for k [0 : 4] [IS_LOG_X k]))))
(force-bool (reduce + (for k [0 : 4] [IS_LOG_X k]))))

(defun (is-log1-to-log4)
(force-bool (+ (for k [1 : 4] [IS_LOG_X k]))))
(force-bool (reduce + (for k [1 : 4] [IS_LOG_X k]))))

(defun (is-log2-to-log4)
(force-bool (+ (for k [2 : 4] [IS_LOG_X k]))))
(force-bool (reduce + (for k [2 : 4] [IS_LOG_X k]))))

(defun (is-log3-to-log4)
(force-bool (+ [IS_LOG_X 3] [IS_LOG_X 4])))
Expand Down

0 comments on commit 54c1801

Please sign in to comment.