3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-22 05:02:20 +02:00

Minor fix to U_matrix

This commit is contained in:
Priyanka Seth 2014-10-19 01:37:30 +02:00
parent cd64a89311
commit b459ce7b8c

View File

@ -60,7 +60,7 @@ def reduce_4index_to_2index(U_4index):
return U, Uprime
# Construct the 2-index matrices for the density-density form
def U_matrix_kanamori(n_orb, U_int=None, J_hund=None):
def U_matrix_kanamori(n_orb, U_int, J_hund):
"""Calculate the Kanamori U and Uprime matrices."""
U = np.zeros((n_orb,n_orb),dtype=float) # matrix for same spin