From b459ce7b8cc960c26b01fd6c8d4f0fcac59c6d0a Mon Sep 17 00:00:00 2001 From: Priyanka Seth Date: Sun, 19 Oct 2014 01:37:30 +0200 Subject: [PATCH] Minor fix to U_matrix --- python/U_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/U_matrix.py b/python/U_matrix.py index 846e7222..0740774c 100644 --- a/python/U_matrix.py +++ b/python/U_matrix.py @@ -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