Introduce devito.Zero to replace sympy.Zero in the FD layer #2332
Open
Description
this way we avoid annoying try-excepts such as
try:
theta = model.theta
except AttributeError:
theta = 0
or
if theta != 0:
<expr>