erasing warnings

This commit is contained in:
gustavo 2000-06-14 16:29:00 +00:00
commit 3bc1cb49d8
10 changed files with 3 additions and 11 deletions

View file

@ -1,7 +1,7 @@
AC_INIT(src/eo)
dnl Change the version number here
AM_INIT_AUTOMAKE(eo)
AM_INIT_AUTOMAKE(eo, 0.0.0)
AC_PROG_CXX
@ -12,4 +12,4 @@ AM_PROG_LIBTOOL
AM_MAINTAINER_MODE
dnl add Makefiles that must be modified by the configuration here
AC_OUTPUT(Makefile src/Makefile src/es/Makefile src/ga/Makefile src/gp/Makefile src/obsolete/Makefile src/other/Makefile src/utils/Makefile test/Makefile win/Makefile doc/Makefile)
AC_OUTPUT(Makefile src/Makefile src/es/Makefile src/ga/Makefile src/gp/Makefile src/obsolete/Makefile src/other/Makefile src/utils/Makefile test/Makefile win/Makefile doc/Makefile apps/nn/Makefile)

View file

@ -53,7 +53,7 @@ class eoUniform: public eoRnd<T>
* @param _rnd the other rnd
*/
eoUniform( const eoUniform& _rnd)
: eoRnd<T>( _rnd), min(_rnd.minim), diff(_rnd.diff) {}
: eoRnd<T>( _rnd), min(_rnd.min), diff(_rnd.diff) {}
/** Returns an uniform random number over the interval [min, max)
Uses global rng object */

View file

@ -22,7 +22,6 @@ main()
const unsigned POP_SIZE = 8, CHROM_SIZE = 16;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
eoPop<Chrom> pop;

View file

@ -64,7 +64,6 @@ main()
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
eoPop<Chrom> pop;

View file

@ -48,7 +48,6 @@ main()
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
eoPop<Chrom> pop;

View file

@ -47,7 +47,6 @@ main()
const unsigned POP_SIZE = 8, CHROM_SIZE = 16;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
eoPop<Chrom> pop;
// Evaluation

View file

@ -18,7 +18,6 @@ main()
{
const unsigned CHROM_SIZE = 4;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
for (unsigned POP_SIZE = 4; POP_SIZE <=6; POP_SIZE++)

View file

@ -26,7 +26,6 @@ main()
const unsigned CHROM_SIZE = 4;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
for (unsigned POP_SIZE = 4; POP_SIZE <=6; POP_SIZE++)

View file

@ -23,7 +23,6 @@ main()
{
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
eoUniform<Chrom::Type> uniform(false, true);
eoPop<Chrom> pop, pop2;
eoBinRandom<Chrom> random;
unsigned i;

View file

@ -51,7 +51,6 @@ main()
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random;
eoPop<Chrom> pop;