Skip to content

Commit

Permalink
Commenting out the flux checking code, Need to verify the logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Sep 18, 2023
1 parent c53744d commit 057c69b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/itensor/itensor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,9 @@ end
#

function insertblock!(T::ITensor, args...)
(!isnothing(flux(T)) && flux(T) flux(T, args...)) &&
error("Block does not match current flux")
## TODO I am not sure if this is working with the new system
#(!isnothing(flux(T)) && flux(T) ≠ flux(T, args...)) &&
# error("Block does not match current flux")
TR = insertblock!!(tensor(T), args...)
settensor!(T, TR)
return T
Expand Down

0 comments on commit 057c69b

Please sign in to comment.