Skip to content

Commit 1979834

Browse files
committed
doc: update throw NaN for get_rank
1 parent bded7aa commit 1979834

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tdigest/include/tdigest.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class tdigest {
154154
* Compute approximate normalized rank of the given value.
155155
*
156156
* <p>If the sketch is empty this throws std::runtime_error.
157+
* <p>NaN value throw std::invalid_argument.
157158
*
158159
* @param value to be ranked
159160
* @return normalized rank (from 0 to 1 inclusive)

0 commit comments

Comments
 (0)