Skip to content

Commit 57d226a

Browse files
authored
docs: update examples of stats/base/smeanwd
PR-URL: #4751 Reviewed-by: Athan Reines <[email protected]>
1 parent a393090 commit 57d226a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Computes the [arithmetic mean][arithmetic-mean] of a single-precision floating-p
214214
```c
215215
const float x[] = { 1.0f, 2.0f, 3.0f };
216216

217-
float v = stdlib_strided_smeanwd_ndarray( 4, x, 1, 0 );
217+
float v = stdlib_strided_smeanwd_ndarray( 3, x, 1, 0 );
218218
// returns 2.0f
219219
```
220220

0 commit comments

Comments
 (0)