projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fada88e
)
fixed compilation error under nvcc
author
Anatoly Baksheev
<no@email>
Mon, 15 Nov 2010 13:51:48 +0000
(13:51 +0000)
committer
Anatoly Baksheev
<no@email>
Mon, 15 Nov 2010 13:51:48 +0000
(13:51 +0000)
modules/core/include/opencv2/core/operations.hpp
patch
|
blob
|
history
diff --git
a/modules/core/include/opencv2/core/operations.hpp
b/modules/core/include/opencv2/core/operations.hpp
index
990e2e0
..
1029a3f
100644
(file)
--- a/
modules/core/include/opencv2/core/operations.hpp
+++ b/
modules/core/include/opencv2/core/operations.hpp
@@
-2077,10
+2077,11
@@
public:
Vector(const Vector& d) { *this = d; }
- Vector(const Vector& d, const Range& r)
+ Vector(const Vector& d, const Range& r
_
)
{
- if( r == Range::all() )
- r = Range(0, d.size());
+ Range r = r_ == Range::all() ? Range(0, d.size()) : r_;
+ /*if( r == Range::all() )
+ r = Range(0, d.size());*/
if( r.size() > 0 && r.start >= 0 && r.end <= d.size() )
{
if( d.hdr.refcount )