mirror of
https://github.com/opencv/opencv.git
synced 2026-11-17 06:47:47 -06:00
depthDispatch had no case for CV_Bool, CV_8F_E4M3FN and CV_8F_E4M3FNUZ, so reduceArgMax / reduceArgMin failed with "Unsupported matrix type". Dispatch them to bool, fp8_t and fp8a_t; the fp8 types compare through their float conversion. Add a ReduceArgNewTypes test, since ElemWiseTest does not generate these depths.