Skip to content

Commit

Permalink
api: make sure legacy symbolic with no coeffs defaults to taylor
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Sep 26, 2024
1 parent a8226eb commit db7a10a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devito/finite_differences/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ def numeric_weights(function, deriv_order, indices, x0):
return finite_diff_weights(deriv_order, indices, x0)[-1][-1]


fd_weights_registry = {'taylor': numeric_weights, 'standard': numeric_weights}
fd_weights_registry = {'taylor': numeric_weights, 'standard': numeric_weights,
'symbolic': numeric_weights} # Backward compat for 'symbolic'
coeff_priority = {'taylor': 1, 'standard': 1}


Expand Down

0 comments on commit db7a10a

Please sign in to comment.