Fix typo in doc
This commit is contained in:
parent
8e1ca4bd60
commit
e30cd203a0
1 changed files with 2 additions and 2 deletions
4
utils.py
4
utils.py
|
@ -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' )
|
||||||
|
|
Loading…
Reference in a new issue