diff --git a/devito/petsc/iet/routines.py b/devito/petsc/iet/routines.py index c46f3e68df..2c7ced99eb 100644 --- a/devito/petsc/iet/routines.py +++ b/devito/petsc/iet/routines.py @@ -449,7 +449,7 @@ class StartPtr(LocalObject): field_from_ptr = FieldFromPointer(target._C_field_data, target._C_symbol) expr = DummyExpr( start_ptr, BarCast(field_from_ptr, ' *') + - Mul(target_time._C_symbol, objs['localsize']._C_symbol), init=True + Mul((target_time), objs['localsize']), init=True ) vec_replace_array = petsc_call('VecReplaceArray', [solver_objs['x_local'], start_ptr])