Skip to content

Commit 480f4fb

Browse files
authored
Fix typo in docstrings
1 parent 0a84576 commit 480f4fb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pymc_extras/statespace/models/utilities.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -541,21 +541,21 @@ def add_tensors_by_dim_labels(
541541
Parameters
542542
----------
543543
tensor: TensorVariable
544-
A statespace matrix to be summed with ``other_matrix``.
544+
A statespace matrix to be summed with ``other_tensor``.
545545
other_tensor: TensorVariable
546-
A statespace matrix to be summed with ``matrix``.
546+
A statespace matrix to be summed with ``tensor``.
547547
labels: list of str
548-
Dimension labels associated with ``matrix``, on the ``labeled_axis`` dimension.
548+
Dimension labels associated with ``tensor``, on the ``labeled_axis`` dimension.
549549
other_labels: list of str
550-
Dimension labels associated with ``other_matrix``, on the ``labeled_axis`` dimension.
550+
Dimension labels associated with ``other_tensor``, on the ``labeled_axis`` dimension.
551551
labeled_axis: int or tuple of int
552-
Dimension that is labeled by ``labels`` and ``other_labels``. ``matrix.shape[labeled_axis]`` must have the
552+
Dimension that is labeled by ``labels`` and ``other_labels``. ``tensor.shape[labeled_axis]`` must have the
553553
shape of ``len(labels)`` at runtime.
554554
555555
Returns
556556
-------
557557
result: TensorVariable
558-
Result of addition of ``matrix`` and ``other_matrix``, along the ``labeled_axis`` dimension. The ordering of
558+
Result of addition of ``tensor`` and ``other_tensor``, along the ``labeled_axis`` dimension. The ordering of
559559
the output will be ``labels + [label for label in other_labels if label not in labels]``. That is, ``labels``
560560
come first, followed by any new labels introduced by ``other_labels``.
561561

0 commit comments

Comments
 (0)