3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 12:23:41 +01:00

U_matrix fix

This commit is contained in:
Priyanka Seth 2014-11-02 21:43:14 +01:00
parent 23096e0e76
commit 56162a72bf

View File

@ -40,7 +40,7 @@ def U_matrix(l, radial_integrals=None, U_int=None, J_hund=None, basis="spherical
if basis == "cubic": T = spherical_to_cubic(l) if basis == "cubic": T = spherical_to_cubic(l)
if basis == "other" and T == None: if basis == "other" and T == None:
raise ValueError("U_matrix: provide T for other bases.") raise ValueError("U_matrix: provide T for other bases.")
if T != None: transform_U_matrix(U_matrix, T) if T != None: U_matrix = transform_U_matrix(U_matrix, T)
return U_matrix return U_matrix