Skip to content

Commit c616bdc

Browse files
Update devito/ir/iet/visitors.py
Co-authored-by: Ed Caunt <[email protected]>
1 parent 7f916c4 commit c616bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devito/ir/iet/visitors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def visit_PointerCast(self, o):
479479
elif isinstance(o.obj, IndexedData):
480480
v = f._C_name
481481
else:
482-
raise AssertionError('rvalue is not a recognised type')
482+
raise TypeError('rvalue is not a recognised type')
483483
rvalue = f'({cstr}**) {v}'
484484

485485
else:

0 commit comments

Comments
 (0)