Skip to content

Commit

Permalink
[fix] small bug in SOC calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed Aug 30, 2024
1 parent 5bac43d commit 5686ca0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/solid_dmft/dmft_tools/interaction_hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,7 @@ def construct(sum_k, general_params, solver_type_per_imp, gw_params=None):
Umat_full = _generate_four_index_u_matrix(sum_k, general_params, icrsh)

if sum_k.SO == 1:
Umat_full = [_adapt_U_4index_for_SO(Umat_full_per_imp)
for Umat_full_per_imp in Umat_full]
Umat_full = _adapt_U_4index_for_SO(Umat_full)

# Rotates the interaction matrix
Umat_full_rotated = _rotate_four_index_matrix(sum_k, general_params, Umat_full, icrsh)
Expand Down

0 comments on commit 5686ca0

Please sign in to comment.