Skip to content

Commit 087a3f9

Browse files
committed
feat: short version of vectorized gamma_method simplified.
1 parent af28f77 commit 087a3f9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pyerrors/obs.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,12 +1039,7 @@ def gamma_method(x, **kwargs):
10391039
return np.vectorize(lambda o: o.gm(**kwargs))(x)
10401040

10411041

1042-
def gm(x, **kwargs):
1043-
"""Short version of the vectorized gamma_method.
1044-
1045-
See docstring of pe.Obs.gamma_method for details
1046-
"""
1047-
return gamma_method(x, **kwargs)
1042+
gm = gamma_method
10481043

10491044

10501045
def _format_uncertainty(value, dvalue, significance=2):

0 commit comments

Comments
 (0)