Commit f8d7e04
committed
fix: order validation checks by parameter position in
Reorder NaN guards in the factory so checks follow declaration order
`(x0, gamma)`. Behavior unchanged: any matching branch returns
`constantFunction( NaN )`.stats/base/dists/cauchy/pdf/lib/factory.js
1 parent 168b97a commit f8d7e04
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments