Skip to content

Commit

Permalink
fix #92
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Dec 9, 2015
1 parent 4afdce3 commit d1cd066
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion c/mapping/mapper_stats1.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ typedef struct _stats1_max_state_t {
} stats1_max_state_t;
static void stats1_max_ningest(void* pvstate, mv_t* pval) {
stats1_max_state_t* pstate = pvstate;
pstate->max = n_nn_min_func(&pstate->max, pval);
pstate->max = n_nn_max_func(&pstate->max, pval);
}
static void stats1_max_emit(void* pvstate, char* value_field_name, char* stats1_name, lrec_t* poutrec) {
stats1_max_state_t* pstate = pvstate;
Expand Down
Loading

0 comments on commit d1cd066

Please sign in to comment.