Skip to content

Commit 8da226c

Browse files
committed
Fixed a typo
1 parent 697666c commit 8da226c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cellconstructor/Phonons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3681,7 +3681,7 @@ def DiagonalizeSupercell(self, verbose = False, lo_to_split = None, return_qmode
36813681
t2 = ForceTensor.Tensor2(self.structure, self.structure.generate_supercell(self.GetSupercell()), self.GetSupercell())
36823682
t2.SetupFromPhonons(self)
36833683

3684-
if is_instance(lo_to_split, str):
3684+
if isinstance(lo_to_split, str):
36853685
if lo_to_split.lower() == "random":
36863686
fc_gamma = t2.Interpolate(np.zeros(3))
36873687
else:

0 commit comments

Comments
 (0)