diff clojure/com/aurellem/gb/util.clj @ 303:5bcda2d6d135

item manipulation program works!
author Robert McIntyre <rlm@mit.edu>
date Sat, 31 Mar 2012 00:33:35 -0500
parents 1de6aada1cb7
children 073600cba28a
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/gb/util.clj	Sat Mar 31 00:05:39 2012 -0500
     1.2 +++ b/clojure/com/aurellem/gb/util.clj	Sat Mar 31 00:33:35 2012 -0500
     1.3 @@ -225,6 +225,6 @@
     1.4    [n]
     1.5    (let [lower-seven (bit-and n 127)]
     1.6      (if (bit-test n 7)
     1.7 -      (- 128 lower-seven)
     1.8 +      (- lower-seven 128)
     1.9        lower-seven)))
    1.10    
    1.11 \ No newline at end of file