1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-26 22:03:04 +04:00
Files
opencv/modules/core/test
WalkingDevFlag 175dd57bdd Fix copyTo on empty fixed-type matrices (#28343)
PR #27972 added _dst.create(size(), type()) in copyTo's empty() block.
In Debug builds, Mat::release() was resetting flags to MAGIC_VAL,
clearing the type information and causing assertion failures when
destination has fixedType().

Preserve type flags in Mat::release() debug mode by using:
  flags = (flags & CV_MAT_TYPE_MASK) | MAGIC_VAL

Thanks to @akretz for suggesting this better approach.
2026-01-06 00:51:06 +05:30
..
2018-02-12 07:09:43 -05:00
2025-12-25 15:45:08 +06:00
2024-03-05 12:15:39 +03:00
2026-01-04 15:12:59 +01:00
2026-01-04 15:12:59 +01:00
2018-02-03 19:39:47 +00:00