Skip to content

Commit 4980386

Browse files
get real
1 parent 35d62ea commit 4980386

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/operations.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ Base.promote_rule(::Type{<:Constant}, ::Type{<:Operation}) = Operation
7979
Base.promote_rule(::Type{<:Operation}, ::Type{<:Constant}) = Operation
8080

8181
LinearAlgebra.lu(O::AbstractMatrix{<:Operation};kwargs...) = lu(O,Val(false);kwargs...)
82+
Base.real(x::Operation) = x

0 commit comments

Comments
 (0)