From 2cf89768e27905e8707555ce9fc0ce56bbb6d210 Mon Sep 17 00:00:00 2001 From: Atsushi Togo Date: Mon, 20 May 2024 15:05:11 +0200 Subject: [PATCH] Remove unnecessary lines after spglib v2 --- phonopy/structure/symmetry.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/phonopy/structure/symmetry.py b/phonopy/structure/symmetry.py index b7d27dbe..9699fd6f 100644 --- a/phonopy/structure/symmetry.py +++ b/phonopy/structure/symmetry.py @@ -89,9 +89,6 @@ class Symmetry: self._map_operations = None magmom = cell.magnetic_moments - if isinstance(magmom, np.ndarray): - if (magmom < symprec).all(): - magmom = None if not is_symmetry: self._set_nosym(s2p_map)