Skip to content

Commit

Permalink
[py] one more numpy depr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoStrand committed Jul 13, 2022
1 parent db1d326 commit 3c5e366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/triqs_tprf/matrix_rpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def lose_spin_degree_of_freedom(gf, rank=2, spin_fast=True):
else:
idx.extend(rank*[slice(norb, None)])

spin_independent_gf = gf[idx]
spin_independent_gf = gf[tuple(idx)]

return spin_independent_gf

Expand Down

0 comments on commit 3c5e366

Please sign in to comment.