Skip to content

Commit

Permalink
-pedantic warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yixuan committed Dec 8, 2016
1 parent 69bbe3b commit c4b5377
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cuhre/stddecl.h
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,9 @@ typedef unsigned int state_t;
/* period parameter */
#define MERSENNE_M 397

/* RNGState is not used in Cuhre, and the unnamed union generates
compiler warnings. -- Yixuan */
/*
typedef struct {
void (*getrandom)(struct _this *t, real *x);
void (*skiprandom)(struct _this *t, cnumber n);
Expand All @@ -526,6 +529,7 @@ typedef struct {
} ranlux;
};
} RNGState;
*/


/* We do not need to consider FORTRAN interface. -- Yixuan */
Expand Down

0 comments on commit c4b5377

Please sign in to comment.