Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Oct 23, 2024
1 parent 959f369 commit f500bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/make_zero.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ else
seen::IdDict,
prev::GenericMemory{kind, FT},
::Val{copy_if_inactive} = Val(false),
)::GenericMemory{kind, FT} where {copy_if_inactive,FT<:AbstractFloat,N}
)::GenericMemory{kind, FT} where {copy_if_inactive,FT<:AbstractFloat,kind}
if haskey(seen, prev)
return seen[prev]
end
Expand All @@ -79,7 +79,7 @@ end
seen::IdDict,
prev::GenericMemory{kind, Complex{FT}},
::Val{copy_if_inactive} = Val(false),
)::GenericMemory{kind, Complex{FT}} where {copy_if_inactive,FT<:AbstractFloat,N}
)::GenericMemory{kind, Complex{FT}} where {copy_if_inactive,FT<:AbstractFloat,kind}
if haskey(seen, prev)
return seen[prev]
end
Expand Down

0 comments on commit f500bad

Please sign in to comment.