Commit 8868c50
committed
docs: normalize example variable naming in
Replaced `var y` and `var k` with `var v` in the negative-input and NaN
`@example` blocks so the package matches the convention used by all
seven single-argument sibling distribution packages (`entropy`,
`kurtosis`, `mean`, `mode`, `skewness`, `stdev`, `variance`), where
`var v = <pkg>( ... );` appears uniformly across all four examples in
both the README and the TypeScript declaration file (87.5%
conformance). The package's own `lib/main.js` already uses `var v`
throughout, so the divergence was confined to `README.md` and
`docs/types/index.d.ts`.@stdlib/stats/base/dists/chisquare/median
1 parent 58bbb07 commit 8868c50
2 files changed
Lines changed: 3 additions & 3 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments