Skip to content

Commit

Permalink
remove nan (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Aug 23, 2024
1 parent 1d5d54a commit 51c5edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/metric/detail/ckms_quantiles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CKMSQuantiles {
compress();

if (sample_.empty()) {
return std::numeric_limits<double>::quiet_NaN();
return 0;
}

int rankMin = 0;
Expand Down

0 comments on commit 51c5edb

Please sign in to comment.