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 c091147 commit 0297625
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 @@ -506,8 +506,7 @@ def construct(sum_k, general_params, advanced_params):
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 0297625

Please sign in to comment.