Skip to content

Commit

Permalink
Import problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Ferris committed Nov 2, 2016
1 parent 865a4d0 commit 55449ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arraymath.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Base: .+, .-, .*, ./
import Base: .+, .-, .*, ./, .\, .%, .^

# Support for elementwise ops on AbstractArray{S<:StaticArray} with Number
Base.promote_op{Op,A<:StaticArray,T<:Number}(op::Op, ::Type{A}, ::Type{T}) = similar_type(A, promote_op(op, eltype(A), T))
Expand Down

0 comments on commit 55449ff

Please sign in to comment.