Skip to content

Commit

Permalink
Fix call to id
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Sep 10, 2024
1 parent e9f190e commit e8fce55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/TenetITensorsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using ITensors: ITensors, ITensor

function Tenet.Tensor(tensor::ITensor)
array = ITensors.array(tensor)
is = Symbol.(id.(ITensor.inds(tensor)))
is = Symbol.(ITensors.id.(ITensors.inds(tensor)))
return Tensor(array, is)
end

Expand Down

0 comments on commit e8fce55

Please sign in to comment.