VariationModels: remove unused lowerBound/upperBound static methods

This commit is contained in:
Cosimo Lupo 2019-03-04 11:15:06 -08:00
parent b9aa815d06
commit d8152feb21

View File

@ -252,18 +252,6 @@ class VariationModel(object):
ret.axisPoints = axisPoints
return ret
@staticmethod
def lowerBound(value, lst):
if any(v < value for v in lst):
return max(v for v in lst if v < value)
else:
return value
@staticmethod
def upperBound(value, lst):
if any(v > value for v in lst):
return min(v for v in lst if v > value)
else:
return value
def reorderMasters(self, master_list, mapping):
# For changing the master data order without
# recomputing supports and deltaWeights.