Skip to content

Commit

Permalink
FIX: whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Rajchl committed Feb 26, 2018
1 parent ff7df9b commit 7c53260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dltk/io/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def whitening(image):
std = np.std(image)

if std > 0:
ret = (image - mean) / std
else:
ret = (image - mean) / std
else:
ret = image * 0.
return ret

Expand Down

0 comments on commit 7c53260

Please sign in to comment.