Skip to content

Commit ebb2348

Browse files
committed
Removed unused imports in Python test
1 parent 995a4a5 commit ebb2348

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/python/block_sparse_api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import matplotlib.pyplot as plt
2-
from triqs.operators import c, c_dag, n
1+
from triqs.operators import n
32
from triqs.operators.util.hamiltonians import h_int_kanamori, make_operator_real
43
from triqs.atom_diag import *
54
import numpy as np
@@ -106,7 +105,7 @@ def get_full_h_atomic(ad):
106105

107106
d = DiagramEvaluator(beta, lamb, eps, pol, weight, G_ppsc, ad)
108107

109-
topology = [[0, 2], [1, 3]]
108+
topology = np.array([[0, 2], [1, 3]])
110109

111110
# Serial diagram evaluation
112111
Sigma_ppsc_ser = d.compute_self_energy(topology)

0 commit comments

Comments
 (0)