Skip to content

Commit

Permalink
python: Fix region creation in legion python library
Browse files Browse the repository at this point in the history
  • Loading branch information
magnatelee committed Apr 21, 2018
1 parent 38ef8f7 commit 2ed9873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/legion.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def create(ispace, fspace):
if not isinstance(fspace, Fspace):
fspace = Fspace.create(fspace)
handle = c.legion_logical_region_create(
_my.ctx.runtime, _my.ctx.context, ispace.handle[0], fspace.handle[0])
_my.ctx.runtime, _my.ctx.context, ispace.handle[0], fspace.handle[0], False)
result = Region(handle, ispace, fspace)
for field_name in fspace.field_ids.keys():
result.set_privilege(field_name, RW)
Expand Down

0 comments on commit 2ed9873

Please sign in to comment.