Skip to content

Commit

Permalink
[fix] copy to OUT in two-arg-fn/non-comparison when converting type
Browse files Browse the repository at this point in the history
  • Loading branch information
kchanqvq authored and digikar99 committed Dec 29, 2024
1 parent e4d8995 commit 9da30d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
y
(nu:copy y :out (nu:empty (array-dimensions y) :type otype)))))
;; TODO: Add type declarations?
(two-arg-fn/non-comparison name x y :broadcast broadcast :out nil))))
(two-arg-fn/non-comparison name x y :broadcast broadcast :out out))))


;; 6 parametric polymorphs
Expand Down
2 changes: 1 addition & 1 deletion src/basic-math/two-arg-fn-non-comparison.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
y
(nu:copy y :out (nu:empty (array-dimensions y) :type otype)))))
;; TODO: Add type declarations?
(two-arg-fn/non-comparison name x y :broadcast broadcast :out nil))))
(two-arg-fn/non-comparison name x y :broadcast broadcast :out out))))


;; 6 parametric polymorphs
Expand Down

0 comments on commit 9da30d1

Please sign in to comment.