From 9f1c7aea01a1ecd1c308c2217e9ebdf7f8d3f59a Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Tue, 29 Mar 2022 18:23:07 -0700 Subject: [PATCH] add _displacements to __slots__ --- masque/repetition.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/masque/repetition.py b/masque/repetition.py index 7cc949a..f9eb330 100644 --- a/masque/repetition.py +++ b/masque/repetition.py @@ -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.