Skip to content

Commit

Permalink
fix lognot too
Browse files Browse the repository at this point in the history
  • Loading branch information
guicho271828 committed May 16, 2019
1 parent 986a45a commit 6eed99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/5numeric.lisp
Expand Up @@ -340,7 +340,7 @@ NUMCL. If not, see <http://www.gnu.org/licenses/>.
(defun numcl:logorc2 (&rest args) (reduce (lambda (x y) (broadcast 'logorc2 x y)) args))
(defun numcl:logxor (&rest args) (reduce (lambda (x y) (broadcast 'logxor x y)) args))

(defun numcl:lognot (x) (map-array 'lognot x))
(defun numcl:lognot (x) (if (numberp x) (lognot x) (map-array 'lognot x)))



Expand Down

0 comments on commit 6eed99e

Please sign in to comment.