Skip to content

Commit ccaf79d

Browse files
Update main.c
Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
1 parent c8e647d commit ccaf79d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • lib/node_modules/@stdlib/stats/base/dists/erlang/cdf/src

lib/node_modules/@stdlib/stats/base/dists/erlang/cdf/src/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
*/
3737
double stdlib_base_dists_erlang_cdf( const double x, const int32_t k, const double lambda ) {
3838
if (
39-
!stdlib_base_is_nonnegative_integer( k ) ||
40-
k <= 0
39+
!stdlib_base_is_nonnegative_integer( k )
4140
) {
4241
return 0.0 / 0.0;
4342
}

0 commit comments

Comments
 (0)