Skip to content

Commit 1634aef

Browse files
JoeyT1994mtfishman
andauthored
Update src/abstractitensornetwork.jl
Co-authored-by: Matt Fishman <[email protected]>
1 parent 1bb92fd commit 1634aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abstractitensornetwork.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ function scale(weight_function::Function, tn; kwargs...)
954954
return scale!(weight_function, tn; kwargs...)
955955
end
956956

957-
function scale(tn, vertices_weights::Dictionary; kwargs...)
957+
function scale(tn::AbstractITensorNetwork, vertices_weights::Dictionary; kwargs...)
958958
tn = copy(tn)
959959
return scale!(tn, vertices_weights; kwargs...)
960960
end

0 commit comments

Comments
 (0)