Skip to content

Commit

Permalink
dsl: fix for custom substitutions at forward or backward timesteps
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed Mar 23, 2021
1 parent 44d70e1 commit ef19c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/finite_differences/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def diff_f(expr, deriv_order, dims, fd_order, side=None, **kwargs):


def symbolic_weights(function, deriv_order, indices, dim):
return [function._coeff_symbol(indices[j], deriv_order, function, dim)
return [function._coeff_symbol(indices[j], deriv_order, function.function, dim)
for j in range(0, len(indices))]


Expand Down

0 comments on commit ef19c4a

Please sign in to comment.