(VirusShiftMutation::operator()): Fix test for i>1.
This makes t-MGE1bit pass on x86_64 using GCC.
This commit is contained in:
parent
037ce32d90
commit
3533d8addb
3 changed files with 14 additions and 2 deletions
11
eo/contrib/MGE/ChangeLog
Normal file
11
eo/contrib/MGE/ChangeLog
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
2006-12-02 Jochen Küpper <jochen@fhi-berlin.mpg.de>
|
||||
|
||||
* 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:
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue