Skip to content

Commit f39fc9b

Browse files
authored
Merge pull request #7 from phisgroup/patch-getitem
FIX: Wrong atribute order in __getitem__ method
2 parents ac74da1 + e7c3964 commit f39fc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labfis/uncertainty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def uncertainty(self):
179179
return self._uncertainty
180180

181181
def __getitem__(self, idx):
182-
vals = (self.uncertainty, self.mean)
182+
vals = (self.mean, self.uncertainty)
183183
return vals[idx]
184184

185185
def __pos__(self):

0 commit comments

Comments
 (0)