Skip to content

Commit 0d5a516

Browse files
committed
Update example
1 parent 06d670e commit 0d5a516

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/node_modules/@stdlib/random/base/examples/c/example.c

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ int main() {
3030
0.9999999995343387,
3131
2,
3232
NULL,
33+
NULL,
3334
NULL
3435
};
3536

lib/node_modules/@stdlib/random/base/src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ uint64_t stdlib_base_prng_next( struct BasePRNGObject *obj ) {
5959
*
6060
* ## Notes
6161
*
62-
* - The function returns `NaN` if provided a `NULL` pointer.
62+
* - The function returns `NAN` if provided a `NULL` pointer.
6363
*
6464
* @param obj PRNG object
6565
* @return pseudorandom number

0 commit comments

Comments
 (0)