formatting

This commit is contained in:
Just van Rossum 2022-10-13 08:42:37 +02:00
parent 053cba3626
commit 4ef44bfbd1

View File

@ -452,8 +452,12 @@ class VariationModel(object):
return model.getDeltas(items, round=round), model.supports return model.getDeltas(items, round=round), model.supports
def getScalars(self, loc): def getScalars(self, loc):
return [supportScalar(loc, support, extrapolate=self.extrapolate, axisRanges=self.axisRanges) return [
for support in self.supports] supportScalar(
loc, support, extrapolate=self.extrapolate, axisRanges=self.axisRanges
)
for support in self.supports
]
@staticmethod @staticmethod
def interpolateFromDeltasAndScalars(deltas, scalars): def interpolateFromDeltasAndScalars(deltas, scalars):