diff --git a/eo/contrib/MGE/ChangeLog b/eo/contrib/MGE/ChangeLog new file mode 100644 index 00000000..9e42e0b0 --- /dev/null +++ b/eo/contrib/MGE/ChangeLog @@ -0,0 +1,11 @@ +2006-12-02 Jochen Küpper + + * contrib/MGE/VirusOp.h (VirusShiftMutation::operator()): Fix test for + i>1. This makes t-MGE1bit pass on x86_64 using GCC. + + + * Local Variables: + * coding: iso-8859-1 + * mode: flyspell + * fill-column: 80 + * End: diff --git a/eo/contrib/MGE/VirusOp.h b/eo/contrib/MGE/VirusOp.h index d6d44caa..54d7b4aa 100644 --- a/eo/contrib/MGE/VirusOp.h +++ b/eo/contrib/MGE/VirusOp.h @@ -110,7 +110,7 @@ public: _chrom.virusBitSet(i, false); } } else { - if ( i - 1 > 0 ) { + if ( i > 1 ) { _chrom.virusBitSet(i-1,true); _chrom.virusBitSet(i, false); } diff --git a/eo/src/eoVector.h b/eo/src/eoVector.h index 40facddf..c9adcac0 100644 --- a/eo/src/eoVector.h +++ b/eo/src/eoVector.h @@ -22,7 +22,7 @@ Marc.Schoenauer@polytechnique.fr mak@dhi.dk - CVS Info: $Date: 2005-10-06 17:22:40 $ $Header: /home/nojhan/dev/eodev/eodev_cvs/eo/src/eoVector.h,v 1.17 2005-10-06 17:22:40 kuepper Exp $ $Author: kuepper $ + CVS Info: $Date: 2006-12-02 11:36:29 $ $Header: /home/nojhan/dev/eodev/eodev_cvs/eo/src/eoVector.h,v 1.18 2006-12-02 11:36:29 kuepper Exp $ $Author: kuepper $ */ //----------------------------------------------------------------------------- @@ -129,6 +129,7 @@ bool operator<(const eoVector& _eo1, const eoVector bool operator>(const eoVector& _eo1, const eoVector& _eo2) {