Skip to content

Commit

Permalink
tests: Add dt2 as test
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Jul 16, 2024
1 parent 434df2a commit 6a25740
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions devito/ir/xdsl_iet/cluster_to_ssa.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 6a25740

Please sign in to comment.