add _displacements to __slots__

This commit is contained in:
Jan Petykiewicz 2022-03-29 18:23:07 -07:00 committed by jan
parent 3640de27c7
commit 9f1c7aea01

View File

@ -299,6 +299,8 @@ class Arbitrary(LockableImpl, Repetition, metaclass=AutoSlots):
`[[x0, y0], [x1, y1], ...]`
"""
__slots__ = ('_displacements',)
_displacements: NDArray[numpy.float64]
""" List of vectors `[[x0, y0], [x1, y1], ...]` specifying the offsets
of the instances.