Skip to content

Commit 1790722

Browse files
Apply suggestions from code review
Co-authored-by: willtebbutt <[email protected]>
1 parent 4efc1e7 commit 1790722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/woodbury_pd_mat.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ end
8787

8888
# NOTE: the parameterisation to scale up the Woodbury matrix is not unique. Here we
8989
# implement one way to scale it.
90-
*(a::WoodburyPDMat, c::T) where T<:Real = WoodburyPDMat(a.A, a.D * c, a.S * c)
90+
*(a::WoodburyPDMat, c::Real) = WoodburyPDMat(a.A, a.D * c, a.S * c)

0 commit comments

Comments
 (0)