Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
barrust committed Mar 23, 2019
1 parent 7192c72 commit 83aeb20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Current Version

### Version 0.1.5
* Fix for non gcc overflow checks
* Added python sub classes:
* StreamThreshold
* Those elements that meet the threshold are maintained in a dictionary
Expand Down
4 changes: 2 additions & 2 deletions src/count_min_sketch.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static void __write_to_file(CountMinSketch *cms, FILE *fp, short on_disk);
static void __read_from_file(CountMinSketch *cms, FILE *fp, short on_disk, char *filename);
static uint64_t* __default_hash(int32_t num_hashes, char *key);
static uint64_t __fnv_1a(char *key);
int __compare (const void * a, const void * b);
int __compare(const void * a, const void * b);
int32_t __safe_add(int32_t a, int32_t b);
int32_t __safe_sub(int32_t a, int32_t b);

Expand Down Expand Up @@ -302,7 +302,7 @@ static uint64_t __fnv_1a(char *key) {
}


int __compare (const void * a, const void * b) {
int __compare(const void *a, const void *b) {
return ( *(long*)a - *(long*)b );
}

Expand Down

0 comments on commit 83aeb20

Please sign in to comment.