Skip to content

Commit e5f5fff

Browse files
committed
Fix NameError: add missing t_main_loop_start timer in DiagonalizeSupercell_slow
1 parent b462c05 commit e5f5fff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cellconstructor/Phonons.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3632,6 +3632,9 @@ def DiagonalizeSupercell_slow(self, verbose = False, lo_to_split = None, return_
36323632

36333633
i_mu = 0
36343634
bg = self.structure.get_reciprocal_vectors() / (2*np.pi)
3635+
3636+
# TIMER: Main q-point loop
3637+
t_main_loop_start = time.time()
36353638
for iq, q in enumerate(self.q_tot):
36363639
# Check if the current q point has been seen (we do not distinguish between q and -q)
36373640
skip_this_q = False

0 commit comments

Comments
 (0)