We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8763f2 commit 763890fCopy full SHA for 763890f
1 file changed
devito/operator/operator.py
@@ -1518,7 +1518,7 @@ def nbytes_snapshots(self):
1518
# Layers are sometimes aliases, so include aliases here
1519
for i in self._op_symbols:
1520
try:
1521
- if i._child is None:
+ if i._child is None and i.alias is not True:
1522
# Use only the "innermost" layer to avoid counting snapshots
1523
# twice. This layer will have no child.
1524
v = self._apply_override(i)
0 commit comments