Skip to content

Commit 27dea66

Browse files
committed
clean
1 parent e535550 commit 27dea66

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

devito/petsc/solve.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ def linear_solve_args(self):
137137
exprs = exprs + (stagger_bc,)
138138

139139
funcs = get_funcs(exprs)
140-
# TODO: Double check but this is for data dependencies otherwise the wrong halospots
141-
# are generated
140+
# TODO: Double check but this is for data dependencies otherwise the
141+
# wrong halospots are generated
142142
funcs = tuple(f for f in funcs if f != target)
143143
# from IPython import embed; embed()
144144
self.time_mapper = generate_time_mapper(exprs)
@@ -273,8 +273,9 @@ def get_funcs(exprs):
273273
# f for e in exprs
274274
# for f in retrieve_functions(eval_time_derivatives(e.lhs - e.rhs))
275275
# ]
276-
# TODO: this is expensive, need to rethink, but otherside the initial compilation doesn't see
277-
# all "functions" e.g when derivatives are evaluated, so the halospots are not generated correctly.
276+
# TODO: this is expensive, need to rethink, but otherside the initial
277+
# compilation doesn't see all "functions" e.g the ones generated when derivatives
278+
# are evaluated, so the halospots are not generated correctly.
278279
funcs = [
279280
f for e in exprs
280281
for f in retrieve_functions(e.evaluate)

0 commit comments

Comments
 (0)