Skip to content

Commit

Permalink
remove unneeded where {T}.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Dec 4, 2023
1 parent 6649496 commit 66ed3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SweepOperator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function syrk!(A::Symmetric{T, S}, α::T, x::AbstractArray{<:T}) where {T<:BlasN
Symmetric(BLAS.syrk!('U', 'N', α, x, one(T), A.data))
end

function syrk!(A, α, x) where {T}
function syrk!(A, α, x) # fallback
p = checksquare(A)
for i in 1:p, j in i:p
@inbounds A[i,j] += α * x[i] * x[j]
Expand Down

1 comment on commit 66ed3ff

@joshday
Copy link
Owner Author

@joshday joshday commented on 66ed3ff Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @matthieugomez I didn't know how to give you credit in the commit message...

Please sign in to comment.