Skip to content

Commit 8e515b5

Browse files
kshyattlkdvos
andcommitted
Update src/tensors/braidingtensor.jl
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
1 parent 925c9c5 commit 8e515b5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/tensors/braidingtensor.jl‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ function fill_braidingblock!(data, b::BraidingTensor, s::Sector)
166166
r = _braiding_factor(f₁, f₂, b.adjoint)
167167
# change offset to account for single block
168168
subblock = StridedView(data, sz, str, off - base_offset)
169-
# without the zero-value, the non-trivial block is not set
170-
# correctly in the GPU case
171169
isnothing(r) ? zerovector!(subblock) : fill_braidingsubblock!(subblock, r)
172170
end
173171
return data

0 commit comments

Comments
 (0)