Fix the problem: filterSmall.cl report error with double

pull/7505/head
LukeZhu 8 years ago
parent 18327aed30
commit ef47bcc88b
  1. 1
      modules/imgproc/src/opencl/filterSmall.cl

@ -154,6 +154,7 @@ inline bool isBorder(const struct RectCoords bounds, int2 coord, int numPixels)
#endif #endif
#define float1 float #define float1 float
#define double1 double
#define uchar1 uchar #define uchar1 uchar
#define int1 int #define int1 int
#define uint1 unit #define uint1 unit

Loading…
Cancel
Save