Skip to content

Commit

Permalink
fix bug occurring with new numpy version
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalopp committed Mar 17, 2016
1 parent 572e5b8 commit 7bcd3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencv_utils.py
Expand Up @@ -24,7 +24,7 @@ def _image_processing( self , image ):
assert -1<=b<=1
image= image.copy()
with OverflowPreventer(image) as img:
img+=b*256
img+= int(b*256)
return image

class ContrastProcessor( ImageProcessor ):
Expand Down

0 comments on commit 7bcd3f1

Please sign in to comment.