File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,11 @@ def is_identity(self):
137137 """Returns True if this SymOp is an identity symmetry operation
138138 (no rotation, no translation), otherwise returns False.
139139 """
140- if numpy .allclose (self .R , numpy .identity (3 , float )) and \
141- numpy .allclose (self .t , numpy .zeros (3 , float )):
142- return True
140+ rv = (numpy .allclose (self .R , numpy .identity (3 , float )) and
141+ numpy .allclose (self .t , numpy .zeros (3 , float )))
142+ return rv
143+
144+ # End of class SymOp
143145
144146
145147class SpaceGroup (object ):
@@ -191,6 +193,8 @@ def iter_equivalent_positions(self, vec):
191193 """
192194 for symop in self .symop_list :
193195 yield symop (vec )
196+ pass
194197
198+ # End of class SpaceGroup
195199
196200# End of file
You can’t perform that action at this time.
0 commit comments