@@ -826,7 +826,7 @@ def epsilon(self, a):
826826 a = self .parent ()._rc_index_inverse [a ]
827827 if not self [a ]:
828828 return ZZ .zero ()
829- return Integer (- min (0 , min ( self [a ].rigging ) ))
829+ return Integer (- min (0 , * self [a ].rigging ))
830830
831831 def phi (self , a ):
832832 r"""
@@ -851,7 +851,7 @@ def phi(self, a):
851851 p_inf = self .parent ()._calc_vacancy_number (self , a , float ("inf" ))
852852 if not self [a ]:
853853 return Integer (p_inf )
854- return Integer (p_inf - min (0 , min ( self [a ].rigging ) ))
854+ return Integer (p_inf - min (0 , * self [a ].rigging ))
855855
856856 def vacancy_number (self , a , i ):
857857 r"""
@@ -2315,7 +2315,7 @@ def epsilon(self, a):
23152315 if not self [a ]:
23162316 epsilon = 0
23172317 else :
2318- epsilon = - min (0 , min ( self [a ].rigging ) )
2318+ epsilon = - min (0 , * self [a ].rigging )
23192319 n = len (self .parent ()._rc_index )
23202320 if a == n - 1 : # -1 for indexing
23212321 epsilon *= 2
@@ -2349,7 +2349,7 @@ def phi(self, a):
23492349 if not self [a ]:
23502350 phi = p_inf
23512351 else :
2352- phi = p_inf - min (0 , min ( self [a ].rigging ) )
2352+ phi = p_inf - min (0 , * self [a ].rigging )
23532353 n = len (self .parent ()._rc_index )
23542354 if a == n - 1 : # -1 for indexing
23552355 phi *= 2
0 commit comments