Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Apr 11, 2024
1 parent f8f46d6 commit 67a9dd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/special/binomcoef/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ function binomcoef( n, k ) {
* we can leverage recursion to perform argument reduction.
*/
b = binomcoef( n, k-d+1 );
c = binomcoef( k, k-d+1 );
if ( b === PINF ) {
return sgn * b;
}
c = binomcoef( k, k-d+1 );

/*
* At this point, the result should be `res*b/c`.
*
Expand Down

0 comments on commit 67a9dd0

Please sign in to comment.