Skip to content

Commit 991bacc

Browse files
committed
add / for e.g. mean(points)
1 parent 635150e commit 991bacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fixed_arrays.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ end
123123

124124
Base.:(-)(a::StaticVector) = (-).(a)
125125

126-
import Base: *, +, -
126+
import Base: *, +, -, /
127127

128-
for op in [:*, :+, :-]
128+
for op in [:*, :+, :-, :/]
129129
@eval begin
130130
($op)(a::StaticVector, b::StaticVector) = Base.broadcasted($(op), a, b)
131131
($op)(a::Number, b::StaticVector) = Base.broadcasted($(op), a, b)

0 commit comments

Comments
 (0)