aboutsummaryrefslogtreecommitdiff
path: root/src/include/optimizer/geqo_random.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-09-07 05:04:48 +0000
committerBruce Momjian <bruce@momjian.us>1997-09-07 05:04:48 +0000
commit1ccd423235a48739d6f7a4d7889705b5f9ecc69b (patch)
tree8001c4e839dfad8f29ceda7f8c5f5dbb8759b564 /src/include/optimizer/geqo_random.h
parent8fecd4febf8357f3cc20383ed29ced484877d5ac (diff)
downloadpostgresql-1ccd423235a48739d6f7a4d7889705b5f9ecc69b.tar.gz
postgresql-1ccd423235a48739d6f7a4d7889705b5f9ecc69b.zip
Massive commit to run PGINDENT on all *.c and *.h files.
Diffstat (limited to 'src/include/optimizer/geqo_random.h')
-rw-r--r--src/include/optimizer/geqo_random.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/optimizer/geqo_random.h b/src/include/optimizer/geqo_random.h
index 9bb3affe725..73a9d37e53b 100644
--- a/src/include/optimizer/geqo_random.h
+++ b/src/include/optimizer/geqo_random.h
@@ -1,27 +1,27 @@
/*-------------------------------------------------------------------------
*
* geqo_random.h--
- * random number generator
+ * random number generator
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: geqo_random.h,v 1.1 1997/02/19 12:59:02 scrappy Exp $
+ * $Id: geqo_random.h,v 1.2 1997/09/07 04:59:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/* contributed by:
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
- * Martin Utesch * Institute of Automatic Control *
- = = University of Mining and Technology =
- * utesch@aut.tu-freiberg.de * Freiberg, Germany *
+ * Martin Utesch * Institute of Automatic Control *
+ = = University of Mining and Technology =
+ * utesch@aut.tu-freiberg.de * Freiberg, Germany *
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
*/
/* -- parts of this are adapted from D. Whitley's Genitor algorithm -- */
-#ifndef GEQO_RANDOM_H
-#define GEQO_RANDOM_H
+#ifndef GEQO_RANDOM_H
+#define GEQO_RANDOM_H
#include <math.h>
@@ -32,6 +32,6 @@
/* geqo_randint returns integer value
between lower and upper inclusive */
-#define geqo_randint(upper,lower) ( (int) floor( geqo_rand()*((upper-lower)+0.999999) ) + lower )
+#define geqo_randint(upper,lower) ( (int) floor( geqo_rand()*((upper-lower)+0.999999) ) + lower )
-#endif /* GEQO_RANDOM_H */
+#endif /* GEQO_RANDOM_H */