Skip to content

Commit

Permalink
Remove VampIR Function Name Typos
Browse files Browse the repository at this point in the history
Removes typos introduced in fb8bf60. In particular, changes
`mod_n`and `combine_aux` as VampIR functions.
  • Loading branch information
agureev committed Nov 2, 2023
1 parent 4eb67b8 commit b969e06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vampir/vampir.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
(b-wire (make-wire :var :b))
(q-wire (make-wire :var :q))
(r-wire (make-wire :var :r)))
(make-alias :name :mod32
(make-alias :name :mod_n
:inputs (list :n :a :b)
:body (list
(make-equality
Expand Down Expand Up @@ -310,7 +310,7 @@
r-wire))))

(defun mod-n (n a b)
(make-application :func :mod-n
(make-application :func :mod_n
:arguments (list n a b)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down Expand Up @@ -413,7 +413,7 @@

(defparameter *combine-aux*
(make-alias
:name :combine-aux
:name :combine_aux
:inputs (list :x :y)
:body (list (make-infix :op :+
:lhs (make-wire :var :x)
Expand Down

0 comments on commit b969e06

Please sign in to comment.