mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 21:22:43 -06:00
Problem IsInf threw "Unsupported mode" when detect_positive and detect_negative were both 0. ONNX expects an all-false output in that case. Fix Fill the output with zeros in that branch instead of calling CV_Error.