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:
parent
c6436ee5f0
commit
3c8445b934
|
|
@ -307,7 +307,6 @@ public class GenomeLoc implements Comparable<GenomeLoc>, Serializable, HasGenome
|
|||
@Override
|
||||
public int hashCode() {
|
||||
return start << 16 | stop << 4 | contigIndex;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue