Skip to content

Commit

Permalink
Clean up rng transfer to entangled system
Browse files Browse the repository at this point in the history
  • Loading branch information
ddahlbom committed Oct 16, 2024
1 parent 5ad399a commit 120e3df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/EntangledUnits/EntangledUnits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,7 @@ function entangle_system(sys::System{M}, units) where M
sys_entangled = System(contracted_crystal, spin_infos, :SUN; dims)

# Transfer rng from origin system to entangled system
sys_entangled.rng.s0 = sys.rng.s0
sys_entangled.rng.s1 = sys.rng.s1
sys_entangled.rng.s2 = sys.rng.s2
sys_entangled.rng.s3 = sys.rng.s3
sys_entangled.rng.s4 = sys.rng.s4
copy!(sys_entangled.rng, sys.rng)

# TODO: Extend to inhomogenous systems
# For each contracted site, scan original interactions and reconstruct as necessary.
Expand Down

0 comments on commit 120e3df

Please sign in to comment.