Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Oct 6, 2023
1 parent fdd8e1c commit 9316868
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function Base.copyto!(
f = bc.f
if R === T1
#map!((t1, t2) -> f(t1, t2), R, T1, T2)
map!(f,R, T1, T2)
map!(f, R, T1, T2)
elseif R === T2
#map!((t1, t2) -> f(t2, t1), R, T2, T1)
map!(f, R, T2, T1)
Expand Down Expand Up @@ -285,7 +285,6 @@ function fmap(bc::Broadcasted{ITensorStyle,<:Any,typeof(+),<:Tuple{Vararg{ITenso
return (r, t) -> bc.f(r, t)
end


function fmap(bc::Broadcasted{ITensorStyle,<:Any,typeof(-),<:Tuple{Vararg{ITensor}}})
return (r, t) -> bc.f(r, t)
end
Expand Down

0 comments on commit 9316868

Please sign in to comment.