diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/dnanmeanwd/README.md b/lib/node_modules/@stdlib/stats/base/ndarray/dnanmeanwd/README.md index 45296a6cf1b4..37b00168888a 100644 --- a/lib/node_modules/@stdlib/stats/base/ndarray/dnanmeanwd/README.md +++ b/lib/node_modules/@stdlib/stats/base/ndarray/dnanmeanwd/README.md @@ -156,7 +156,7 @@ Computes the [arithmetic mean][arithmetic-mean] of a one-dimensional double-prec #include // Create an ndarray: -const double data[] = { 1.0, -2.0, NaN, 2.0 }; +const double data[] = { 1.0, -2.0, 0.0/0.0, 2.0 }; int64_t shape[] = { 4 }; int64_t strides[] = { STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT }; int8_t submodes[] = { STDLIB_NDARRAY_INDEX_ERROR }; diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/dnanmidrange/README.md b/lib/node_modules/@stdlib/stats/base/ndarray/dnanmidrange/README.md index 4c3cd4f689d6..dec524d10df2 100644 --- a/lib/node_modules/@stdlib/stats/base/ndarray/dnanmidrange/README.md +++ b/lib/node_modules/@stdlib/stats/base/ndarray/dnanmidrange/README.md @@ -143,7 +143,7 @@ Computes the [mid-range][mid-range] of a one-dimensional double-precision floati #include // Create an ndarray: -const double data[] = { 1.0, -2.0, NaN, 2.0 }; +const double data[] = { 1.0, -2.0, 0.0/0.0, 2.0 }; int64_t shape[] = { 4 }; int64_t strides[] = { STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT }; int8_t submodes[] = { STDLIB_NDARRAY_INDEX_ERROR };