Skip to content

Commit 23cb240

Browse files
aayush0325ShabiShett07
authored andcommitted
docs: fix example in stats/base/smax
PR-URL: stdlib-js#4264 Ref: stdlib-js@de70ec9 Reviewed-by: Athan Reines <[email protected]>
1 parent db25afb commit 23cb240

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)