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
Branches
1 merge request!438Reduction Support
Pipeline #72118 failed with stages
in 6 minutes and 2 seconds
This commit is part of merge request !438. Comments created here will be created in the context of that merge request.
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment