Skip to content

Commit

Permalink
docs: fix a few simple typos
Browse files Browse the repository at this point in the history
There are small typos in:
- docs/source/install.rst
- mahotas/features/moments.py

Fixes:
- Should read `unless` rather than `unlesss`.
- Should read `excellent` rather than `excelent`.

Closes #122
  • Loading branch information
timgates42 authored and luispedro committed May 31, 2021
1 parent 91074ab commit b774287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Packaged Versions
On Windows
~~~~~~~~~~

On Windows, Christoph Gohlke does an excelent job maintaining `binary packages
On Windows, Christoph Gohlke does an excellent job maintaining `binary packages
of mahotas <http://www.lfd.uci.edu/~gohlke/pythonlibs/>`__ (and several other
packages).

Expand Down
2 changes: 1 addition & 1 deletion mahotas/features/moments.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def moments(img, p0, p1, cm=None, convert_to_float=True, normalize=False, normal
where cm = (c0,c1). If `cm` is not given, then (0,0) is used.
If image is of an integer type, then it is internally converted to
np.float64, unlesss `convert_to_float` is False. The reason is that,
np.float64, unless `convert_to_float` is False. The reason is that,
otherwise, overflow is likely except for small images. Since this
conversion takes longer than the computation, you can turn it off in case
you are sure that your images are small enough for overflow to be an issue.
Expand Down

0 comments on commit b774287

Please sign in to comment.