Skip to content
Snippets Groups Projects

Reduction Support

Open Richard Angersbach requested to merge rangersbach/reductions into v2.0-dev
Compare and Show latest version
8 files
+ 158
192
Preferences
Compare changes
Files
8
@@ -50,7 +50,7 @@ from ..ast.expressions import (
PsNot,
)
from ..ast.vector import PsVecBroadcast, PsVecMemAcc, PsVecHorizontal
from ..functions import PsMathFunction, CFunction, PsReductionFunction
from ..functions import PsMathFunction, CFunction
from ..ast.util import determine_memory_object
from ..exceptions import TypificationError
@@ -617,7 +617,7 @@ class Typifier:
case PsCall(function, args):
match function:
case PsMathFunction() | PsReductionFunction():
case PsMathFunction():
for arg in args:
self.visit_expr(arg, tc)
tc.infer_dtype(expr)