Skip to content

Commit d56588c

Browse files
authored
Merge pull request #6 from jurajHasik/integration-yastn
Updating serialization of abelian tensors
2 parents 3e22249 + 49a0e0d commit d56588c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipeps/tensor_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def serialize_abelian_tensor_legacy(t, native=False):
277277
# json_tensor["data"]= serialize_bare_tensor_legacy(t._data)
278278

279279
json_tensor["blocks"]= []
280-
for k,D,source in zip(t.struct.t,t.struct.D,t.struct.sl):
280+
for k,D in zip(t.struct.t,t.struct.D):
281281
json_block= serialize_bare_tensor_legacy(t[k])
282282
json_block["charges"]= k
283283
json_tensor["blocks"].append(json_block)

0 commit comments

Comments
 (0)