kfr icon indicating copy to clipboard operation
kfr copied to clipboard

clamp overload error

Open mipac opened this issue 3 years ago • 0 comments

The clamp function used with 2 arg raise error:

error: no matching function for call to 'clamp' return intrinsics::clamp(static_cast<Tout>(x), static_cast<Tout>(hi));

when call with explicit lo and hi, the compilation is ok

mipac avatar Oct 06 '21 07:10 mipac