Skip to content

Commit 2e30404

Browse files
committed
Use Zero() instead of false
1 parent 5b7fc77 commit 2e30404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementation/functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ See also [`tensorcopy`](@ref) and [`tensoradd!`](@ref)
7979
"""
8080
function tensorcopy!(C, A, pA::Index2Tuple, conjA::Bool=false, α::Number=One(),
8181
backend=DefaultBackend(), allocator=DefaultAllocator())
82-
return tensoradd!(C, A, pA, conjA, α, false, backend, allocator)
82+
return tensoradd!(C, A, pA, conjA, α, Zero(), backend, allocator)
8383
end
8484

8585
# ------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)