Skip to content

Commit

Permalink
Merge pull request #16 from tkelman/tk/piracy
Browse files Browse the repository at this point in the history
Remove * method for StridedVector of StaticArray
  • Loading branch information
sbromberger committed Aug 4, 2017
2 parents 094e4b5 + 7b3126f commit 07f3960
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/stress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ Reference:
module Stress

using GeometryTypes, Compat, StaticArrays
import Base: start, next, done, *

function (*){T<:LinAlg.BlasFloat,S<:StaticArray}(A::StridedMatrix{T}, x::StridedVector{S})
A_mul_B!(similar(x, S, size(A,1)), A, x)
end
import Base: start, next, done

immutable Layout{M1<:AbstractMatrix, M2<:AbstractMatrix, VP<:AbstractVector, FT<:AbstractFloat}
δ::M1
Expand Down

0 comments on commit 07f3960

Please sign in to comment.