mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
docstring added to CObs
This commit is contained in:
parent
040f6dbd51
commit
f627a52bba
1 changed files with 2 additions and 0 deletions
|
@ -641,7 +641,9 @@ class Obs:
|
|||
|
||||
|
||||
class CObs:
|
||||
"""Class for a complex valued observable."""
|
||||
__slots__ = ['real', 'imag', 'tag']
|
||||
|
||||
def __init__(self, real, imag=0.0):
|
||||
self.real = real
|
||||
self.imag = imag
|
||||
|
|
Loading…
Add table
Reference in a new issue