Merge pull request #1329 from broadinstitute/cn_murmur_hash

Use older version of murmur hash implementation included in gatk…
This commit is contained in:
Geraldine Van der Auwera 2016-03-31 13:00:43 -04:00
commit 68b068d2b3
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ public class DroppedReadsTracker {
// filtering/trimming etc., but that distinguishes paired reads from their mate, secondary etc. // filtering/trimming etc., but that distinguishes paired reads from their mate, secondary etc.
public int hashCode() { public int hashCode() {
// Use a murmur hash of the flags to distribute the values more uniformly over the full range of int // Use a murmur hash of the flags to distribute the values more uniformly over the full range of int
return samRec.getReadName().hashCode() + (31 * murmurHasher.hashInt(samRec.getFlags()).asInt()); return samRec.getReadName().hashCode() + (31 * murmurHasher.hashLong(samRec.getFlags()).asInt());
} }
} }