Skip to content

Commit a321e1f

Browse files
committed
improve docstring for VectorBase
1 parent 53c5f6f commit a321e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree_math/_src/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _vector_dot(a, b):
123123
return functools.reduce(operator.add, parts)
124124

125125
class VectorBase:
126-
"""A wrapper for treating an arbitrary pytree as a 1D vector."""
126+
"""A mixin class that adds a 1D vector-like behaviour to any custom pytree class."""
127127

128128
@property
129129
def size(self):

0 commit comments

Comments
 (0)