Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! fixup! perf,src: add HistogramBase and internal/histogram.js
  • Loading branch information
jasnell committed Feb 29, 2020
commit 8606c61895fce687d667a1d7c967a6d1cc140ab4
2 changes: 1 addition & 1 deletion src/histogram.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void HistogramBase::GetPercentiles(
ASSIGN_OR_RETURN_UNWRAP(&histogram, args.Holder());
CHECK(args[0]->IsMap());
Local<Map> map = args[0].As<Map>();
histogram->Percentiles([map,env](double key, double value) {
histogram->Percentiles([map, env](double key, double value) {
map->Set(
env->context(),
Number::New(env->isolate(), key),
Expand Down