Skip to content

Commit

Permalink
pyop3: ro broadcasts
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Apr 25, 2024
1 parent cfc270f commit 757558f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyop3/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ def data_rw_with_halos(self):
def data_ro_with_halos(self):
if not self._roots_valid:
self._reduce_leaves_to_roots()
if not self._leaves_valid:
self._broadcast_roots_to_leaves()
return readonly(self._data)

@property
Expand Down

0 comments on commit 757558f

Please sign in to comment.