Add a comment

This commit is contained in:
Ben Rudiak-Gould 2022-05-03 13:42:04 -07:00
parent 46802d5def
commit 88f46f3c99

View File

@ -435,6 +435,9 @@ def coerce_e(value):
return value if isinstance(value, _E) else _E(1, value)
# _E(scale, offset) represents the affine transformation scale * x + offset.
# The "data" field is named for compatibility with the old implementation,
# and should be renamed once coerce_e is removed.
class _E:
def __init__(self, scale, data):
self.scale = scale