Skip to content

Commit

Permalink
Correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
opennota committed Feb 21, 2015
1 parent 82e51b1 commit 7c53912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phash.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ImageHashDCT(fn string) (uint64, error) {
return uint64(hash), err
}

// HammingDistance returns the hamming distance between the two perceptual hashes.
// HammingDistance returns the Hamming distance between the two perceptual hashes.
func HammingDistance(h1, h2 uint64) int {
return int(C.ph_hamming_distance(C.ulong64(h1), C.ulong64(h2)))
}

0 comments on commit 7c53912

Please sign in to comment.