nnull fix...

This commit is contained in:
2022-03-29 13:22:44 -07:00
parent 3aea1d5e45
commit c9943bbae1
2 changed files with 30 additions and 112 deletions

View File

@@ -95,7 +95,8 @@
(defn best-category [a]
(->> ranges
(filter (fn [[_ [start end]]]
(<= start (:numeric-code a) end)))
(and (:numeric-code a)
(<= start (:numeric-code a) end))))
first
first))