From a33c0a205a0d54cd5a82ab2cdee30b921756a894 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Mon, 27 Feb 2023 10:23:02 +0000 Subject: [PATCH] feat: added __slots__ to Corr class. (#155) --- 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.