Skip to content

Commit f3fd24f

Browse files
mcabbottmzgubic
andauthored
Update src/projection.jl
Co-authored-by: Miha Zgubic <mzgubic@users.noreply.github.com>
1 parent 089631d commit f3fd24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ end
175175

176176
# Tangents: we prefer to reconstruct numbers, but only safe to try when their constructor
177177
# understands, including a mix of Zeros & reals. Other cases, we just let through:
178-
(project::ProjectTo{<:Complex})(dx::Tangent{<:Number}) = project(Complex(dx.re, dx.im))
178+
(project::ProjectTo{<:Complex})(dx::Tangent{<:Complex}) = project(Complex(dx.re, dx.im))
179179
(::ProjectTo{<:Number})(dx::Tangent{<:Number}) = dx
180180

181181
# Arrays

0 commit comments

Comments
 (0)