Skip to content

Commit a5f9603

Browse files
authored
docs: fix example in stats/base/smax
PR-URL: #4264 Ref: de70ec9 Reviewed-by: Athan Reines <[email protected]>
1 parent 217351f commit a5f9603

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/smax

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/smax/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Computes the maximum value of a single-precision floating-point strided array us
199199
```c
200200
const float x[] = { 1.0f, -2.0f, 3.0f, -4.0f };
201201

202-
float v = stdlib_strided_dmax_ndarray( 4, x, 1, 0 );
202+
float v = stdlib_strided_smax_ndarray( 4, x, 1, 0 );
203203
// returns 3.0f
204204
```
205205

0 commit comments

Comments
 (0)