Skip to content
Browse files

accidentally made two maps instead of one pre/post map

  • Loading branch information...
1 parent 7436061 commit 4ed35737595e34f7852715dd3d447df371238751 @amalloy committed Oct 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/bit_packer/core.clj
View
4 src/bit_packer/core.clj
@@ -23,8 +23,8 @@
(defn unpack
[[& nums] base]
- {:pre [(pos-ints? nums)]}
- {:post [(pos-int? %)]}
+ {:pre [(pos-ints? nums)]
+ :post [(pos-int? %)]}
(reduce + (map *
nums
(iterate #(* base %) 1))))

0 comments on commit 4ed3573

Please sign in to comment.
Something went wrong with that request. Please try again.