Skip to content

Commit

Permalink
api: fix typo in fd
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed May 7, 2024
1 parent 84d981e commit fcfdfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/finite_differences/finite_difference.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def make_derivative(expr, dim, fd_order, deriv_order, side, matvec, x0, coeffici
# Always expand time derivatives to avoid issue with buffering and streaming.
# Time derivative are almost always short stencils and won't benefit from
# unexpansion in the rare case the derivative is not evaluated for time stepping.
expand = dim.is_Time or expand
expand = True if dim.is_Time else expand

# The stencil indices
indices, x0 = generate_indices(expr, dim, fd_order, side=side, matvec=matvec,
Expand Down

0 comments on commit fcfdfa3

Please sign in to comment.