Skip to content

Commit

Permalink
legion: small bug fix for legion spy
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsighter committed Jun 29, 2017
1 parent 66320de commit 17433eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/legion/legion_spy.h
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,9 @@ namespace Legion {
{
log_spy.print("Future Creation %llu " IDFMT " %u %d %d %d",
creator_id, future_event.id, point.dim,
(int)point.point_data[0], (int)point.point_data[1],
(int)point.point_data[2]);
(int)point.point_data[0],
(point.dim > 1) ? (int)point.point_data[1] : 0,
(point.dim > 2) ? (int)point.point_data[2] : 0);
}

static inline void log_future_use(UniqueID user_id,
Expand Down

0 comments on commit 17433eb

Please sign in to comment.