Fix typo in doc

This commit is contained in:
linarphy 2023-05-24 12:26:18 +02:00
parent 8e1ca4bd60
commit e30cd203a0
No known key found for this signature in database
GPG key ID: 3D4AAAC3AD16E79C

View file

@ -51,8 +51,8 @@ def big_to_small( indexes , factor ):
def small_to_big( indexes , factor ): def small_to_big( indexes , factor ):
""" """
convert a coordinate of a point n the compressed data to the same coordinate convert a coordinate of a point in the compressed data to the same coordinate
in the compressed one in the non compressed one
""" """
if not isinstance( indexes , int ) and not isinstance( indexes , list ) and not isinstance( indexes , np.ndarray ): if not isinstance( indexes , int ) and not isinstance( indexes , list ) and not isinstance( indexes , np.ndarray ):
raise ValueError( 'indexes must be an integer or a list, ' + type( indexes ) + ' given' ) raise ValueError( 'indexes must be an integer or a list, ' + type( indexes ) + ' given' )