Skip to content

Commit

Permalink
docs: fix return value type in docstring (#411)
Browse files Browse the repository at this point in the history
* fix return value type in docstring of visualize._total_yield_uncertainty
  • Loading branch information
alexander-held authored Jun 16, 2023
1 parent fde48f1 commit b1c4c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cabinetry/visualize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _total_yield_uncertainty(stdev_list: List[np.ndarray]) -> np.ndarray:
stdev_list (List[np.ndarray]): list of absolute stat. uncertainty per sample
Returns:
np.array: absolute stat. uncertainty of stack of samples
np.ndarray: absolute stat. uncertainty of stack of samples
"""
tot_unc = np.sqrt(np.sum(np.power(np.asarray(stdev_list), 2), axis=0))
return tot_unc
Expand Down

0 comments on commit b1c4c40

Please sign in to comment.