Skip to content

Commit

Permalink
validate_flow_array: docstring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CSRavasio committed Nov 24, 2021
1 parent f6a0de4 commit 4813f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oflibnumpy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def validate_shape(shape: Any):
def validate_flow_array(flow, error_string: str = None) -> nd:
"""Checks flow array for validity, ensures the flow is returned with dtype ``float32``
:param flow: Flow array to be checked, should be a numpy array of shape :math:`(H, W, 2) containing floats
:param flow: Flow array to be checked, should be a numpy array of shape :math:`(H, W, 2)` containing floats
:param error_string: Optional string to be added before the error message
:return: Flow numpy array with dtype ``float32``
"""
Expand Down

0 comments on commit 4813f94

Please sign in to comment.