Skip to content

Commit

Permalink
Merge pull request open-mpi#1301 from jsquyres/pr/fix-unweighted-values
Browse files Browse the repository at this point in the history
mpi.h: fix types of MPI_UNWEIGHTED and MPI_WEIGHTS_EMPTY
  • Loading branch information
jsquyres authored Aug 5, 2016
2 parents fe3147d + 6e85b56 commit d7db39c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ompi/include/mpi.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2007-2014 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007-2016 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2009-2012 Oak Rigde National Laboratory. All rights reserved.
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
Expand Down Expand Up @@ -434,8 +434,8 @@ typedef int (MPI_Grequest_cancel_function)(void *, int);
/*
* More constants
*/
#define MPI_UNWEIGHTED ((void *) 2) /* unweighted graph */
#define MPI_WEIGHTS_EMPTY ((void *) 3) /* empty weights */
#define MPI_UNWEIGHTED ((int *) 2) /* unweighted graph */
#define MPI_WEIGHTS_EMPTY ((int *) 3) /* empty weights */
#define MPI_BOTTOM ((void *) 0) /* base reference address */
#define MPI_IN_PLACE ((void *) 1) /* in place buffer */
#define MPI_BSEND_OVERHEAD 128 /* size of bsend header + ptr */
Expand Down

0 comments on commit d7db39c

Please sign in to comment.