-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Bug in function cv::cuda::flip #2895
Copy link
Copy link
Closed
Labels
Description
@tomoaki0705 The flip operation will be done inplace when source and destination images have same refcount:
| bool isInplace = (src.data == dst.data) || (src.refcount == dst.refcount); |
This line of code should be:
bool isInplace = (src.data == dst.data) && (src.refcount == dst.refcount);
We tested this fix and it works.
Thanks.
Reactions are currently unavailable