Skip to content

Commit

Permalink
feat: added __slots__ to Corr class. (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjosw committed Feb 27, 2023
1 parent a2ed265 commit a33c0a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyerrors/correlators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a33c0a2

Please sign in to comment.