Skip to content

Commit

Permalink
Update pyop2/types/dat.py
Browse files Browse the repository at this point in the history
Otherwise updating a dat through a view doesn't increment the version.

Co-authored-by: Connor Ward <[email protected]>
  • Loading branch information
dham and connorjward authored Mar 5, 2025
1 parent bd2f8ad commit 35946ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyop2/types/dat.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def __init__(self, dat, index):
name="view[%s](%s)" % (index, dat.name))

def increment_dat_version(self):
pass
self._parent.increment_dat_version()

@utils.cached_property
def _kernel_args_(self):
Expand Down

0 comments on commit 35946ac

Please sign in to comment.