Skip to content

Commit 76c963c

Browse files
author
Alessandro Fanfarillo
committed
Fixed team_number
1 parent 1f64ca2 commit 76c963c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpi/mpi_caf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4897,7 +4897,7 @@ PREFIX (team_number) (caf_team_t *team)
48974897

48984898
if(used_teams->prev == NULL)
48994899
return -1;
4900-
return teams_list->team_id ;
4900+
return used_teams->team_list_elem->team_id;
49014901
}
49024902

49034903
void PREFIX (end_team) (caf_team_t *team __attribute__ ((unused)))

0 commit comments

Comments
 (0)