Skip to content

Commit 6ef29f9

Browse files
committed
add unary -
1 parent 4adac67 commit 6ef29f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mapreduce.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ for f in (:.+, :.-, :.*, :./, :.%, :.<<, :.>>)
222222
end
223223

224224
### Should be deleted when broadcast is defined
225-
for f in (:abs, :abs2, :acos, :acosd, :acosh, :acot, :acotd, :acoth,
225+
for f in (:-, :abs, :abs2, :acos, :acosd, :acosh, :acot, :acotd, :acoth,
226226
:acsc, :acscd, :acsch, :angle, :asec, :asecd, :asech, :asin,
227227
:asind, :asinh, :atan, :atand, :atanh, :big, :cbrt, :ceil, :cis,
228228
:complex, :cos, :cosc, :cosd, :cosh, :cospi, :cot, :cotd, :coth,

test/darray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ check_leaks()
629629
@testset "test scalar math" begin
630630
a = drand(20, 20);
631631
b = convert(Array, a)
632-
@testset "$f" for f in (:abs, :abs2, :acos, :acosd, :acot,
632+
@testset "$f" for f in (:-, :abs, :abs2, :acos, :acosd, :acot,
633633
:acotd, :acsch, :angle, :asech, :asin,
634634
:asind, :asinh, :atan, :atand, :atanh,
635635
:big, :cbrt, :ceil, :cis, :complex, :conj,

0 commit comments

Comments
 (0)