Merge branch 'dev'

This commit is contained in:
Heng Li 2015-08-27 10:44:34 -04:00
commit e8d531189f
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ Bytes.prototype.revcomp = function()
this[this.length - i - 1] = Bytes.rctab[this[i]];
this[i] = Bytes.rctab[tmp];
}
if (this.length>>1)
if (this.length&1)
this[this.length>>1] = Bytes.rctab[this[this.length>>1]];
}