Skip to content
Snippets Groups Projects
Commit f16d8e79 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Rename min/max of numeric limits enum

parent e9ee769d
No related branches found
No related tags found
1 merge request!438Reduction Support
Pipeline #72118 failed
......@@ -62,7 +62,7 @@ class GenericCpu(Platform):
dtype = call.get_dtype()
arg_types = (dtype,) * func.num_args
if isinstance(dtype, PsScalarType) and func in (NumericLimitsFunctions.Min, NumericLimitsFunctions.Max):
if isinstance(dtype, PsScalarType) and func in (NumericLimitsFunctions.min, NumericLimitsFunctions.max):
cfunc = CFunction(f"{dtype.c_string()}_{func.function_name}".capitalize(), arg_types, dtype)
call.function = cfunc
return call
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment