Skip to content

Commit 73f1940

Browse files
prattmicarc
authored and
arc
committed
Add missing limits include
Without limits included, several CUDA related files fail to compile with GCC on Ubuntu: modules/cudaimgproc/src/hough_lines.cpp:136:9: error: ‘numeric_limits’ is not a member of ‘std’
1 parent f461930 commit 73f1940

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/cudaimgproc/src/precomp.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@
5959
# include "opencv2/cudafilters.hpp"
6060
#endif
6161

62+
#include <limits>
63+
6264
#endif /* __OPENCV_PRECOMP_H__ */

0 commit comments

Comments
 (0)