Commit 7239f34
committed
style: align
Merged the two-block argument validation prologue in `lib/main.js` and
`src/main.c` into a single `if`-block, matching the convention used by
10/12 sibling packages in `@stdlib/stats/base/dists/negative-binomial`
(83% conformance) and 6/7 native-binding C siblings (86% conformance).
Behavior is unchanged: invalid inputs still return NaN.stats/base/dists/negative-binomial/mean with namespace conventions1 parent be59f0c commit 7239f34
2 files changed
Lines changed: 2 additions & 10 deletions
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 36 | + | |
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
| |||
0 commit comments