From b761281cab99d272d2d43d69152b43cbc0a62074 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Fri, 24 Feb 2023 10:19:26 +0000 Subject: [PATCH] feat: added __slots__ to Corr class. --- pyerrors/correlators.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyerrors/correlators.py b/pyerrors/correlators.py index a655d36b..67533cb2 100644 --- a/pyerrors/correlators.py +++ b/pyerrors/correlators.py @@ -23,6 +23,8 @@ class Corr: """ + __slots__ = ["content", "N", "T", "tag", "prange"] + def __init__(self, data_input, padding=[0, 0], prange=None): """ Initialize a Corr object.