Skip to content

Commit

Permalink
Wrong metadata access
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi committed May 14, 2024
1 parent 0b963e7 commit daef44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ symtype(a::ComplexTerm{T}) where T = Complex{T}
istree(a::ComplexTerm) = true
operation(a::ComplexTerm{T}) where T = Complex{T}
arguments(a::ComplexTerm) = [a.re, a.im]
metadata(a::ComplexTerm) = a.re.metadata
metadata(a::ComplexTerm) = metadata(a.re)

function similarterm(t::ComplexTerm, f, args, symtype; metadata=nothing)
if f <: Complex
Expand Down

0 comments on commit daef44e

Please sign in to comment.