Skip to content

Commit ba76e8a

Browse files
committed
Fix variable name
1 parent 75c81de commit ba76e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/enumerable/statistics/extension/statistics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2351,7 +2351,7 @@ ary_histogram(int argc, VALUE *argv, VALUE ary)
23512351
VALUE kwarg_vals[3];
23522352

23532353
if (!kwarg_keys[0]) {
2354-
kwarg_keys[kw_weight] = rb_intern("weights");
2354+
kwarg_keys[kw_weights] = rb_intern("weights");
23552355
kwarg_keys[kw_edges] = rb_intern("edges");
23562356
kwarg_keys[kw_closed] = rb_intern("closed");
23572357
}

0 commit comments

Comments
 (0)