Skip to content

Commit f5728f4

Browse files
TomeHirataclaude
andauthored
Fix predict() docstring to label argument as locations (#125)
The `predict()` method in `DistributionEstimatorBase` takes a `locations` argument but the docstring incorrectly labelled it as `outcomes`. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c0f7cc4 commit f5728f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dte_adj/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def predict(
464464
465465
Args:
466466
treatment_arm (int): The index of the treatment arm.
467-
outcomes (np.ndarray): Scalar values to be used for computing the cumulative distribution.
467+
locations (np.ndarray): Scalar values to be used for computing the cumulative distribution.
468468
display_progress (bool, optional): Whether to display a progress bar. Defaults to True.
469469
470470
Returns:

0 commit comments

Comments
 (0)