Skip to content

Commit

Permalink
Revert MulAddMul constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Oct 18, 2024
1 parent ecedb09 commit a6be9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/generic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ macro stable_muladdmul(expr)
throw(ArgumentError("No valid MulAddMul expression found."))
end

MulAddMul() = MulAddMul{true,true}(true, false)
MulAddMul() = MulAddMul{true,true,Bool,Bool}(true, false)

@inline (::MulAddMul{true})(x) = x
@inline (p::MulAddMul{false})(x) = x * p.alpha
Expand Down

0 comments on commit a6be9ec

Please sign in to comment.