Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #230 from jayrambhia/graynumpycv2

getGrayNumpyCv2 bug fixed (Issue #229)
  • Loading branch information...
commit ce40db995d2f252ba7e6ea3a21790d709564f2bd 2 parents f26cc49 + 8b508d8
Katherine Scott authored September 17, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  SimpleCV/ImageClass.py
2  SimpleCV/ImageClass.py
@@ -1945,7 +1945,7 @@ def getGrayNumpyCv2(self):
1945 1945
         :py:meth:`getGrayNumpyCv2`
1946 1946
         
1947 1947
         """
1948  
-        if not type(self._cv2GrayNumpy) is not np.ndarray:
  1948
+        if type(self._cv2GrayNumpy) is not np.ndarray:
1949 1949
             self._cv2GrayNumpy = np.array(self.getGrayscaleMatrix())
1950 1950
         return self._cv2GrayNumpy
1951 1951
 

0 notes on commit ce40db9

Please sign in to comment.
Something went wrong with that request. Please try again.