From 6a25740985de347926d2ed4207629c0ab2c46bbe Mon Sep 17 00:00:00 2001 From: George Bisbas Date: Tue, 16 Jul 2024 08:33:27 +0100 Subject: [PATCH] tests: Add dt2 as test --- devito/ir/xdsl_iet/cluster_to_ssa.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/devito/ir/xdsl_iet/cluster_to_ssa.py b/devito/ir/xdsl_iet/cluster_to_ssa.py index 0d4620b988b..4f95c9d678c 100644 --- a/devito/ir/xdsl_iet/cluster_to_ssa.py +++ b/devito/ir/xdsl_iet/cluster_to_ssa.py @@ -52,7 +52,6 @@ def field_from_function(f: DiscreteFunction) -> stencil.FieldType: - # import pdb;pdb.set_trace() halo = [f.halo[d] for d in f.dimensions] shape = f.shape bounds = [(-h[0], s+h[1]) for h, s in zip(halo, shape)] @@ -191,7 +190,6 @@ def _visit_math_nodes(self, dim: SteppingDimension, node: Expr, if isinstance(node.function, TimeFunction): time_offset = (node.indices[dim] - dim) % node.function.time_size elif isinstance(node.function, (Function, PointSource)): - # import pdb;pdb.set_trace() time_offset = 0 else: raise NotImplementedError(f"reading function of type {type(node.func)} not supported")