Performance bugfix for GenomeLoc.hashcode

-- old version overflowed so most GenomeLocs had 0 hashcode.  Now uses or not plus to combine
This commit is contained in:
Mark DePristo 2011-09-09 14:25:37 -04:00
parent c6436ee5f0
commit 3c8445b934
1 changed files with 0 additions and 1 deletions

View File

@ -307,7 +307,6 @@ public class GenomeLoc implements Comparable<GenomeLoc>, Serializable, HasGenome
@Override
public int hashCode() {
return start << 16 | stop << 4 | contigIndex;
}