Skip to content

Commit

Permalink
refactor: correct return value
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjjoshi committed Jul 29, 2024
1 parent dc626ba commit 47f6ba7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/math/base/special/sincos/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ void stdlib_base_sincos( const double x, double* sine, double* cosine ) {
*cosine = 0.0;
}
}
return kernelSincos( x, 0.0, sine, cosine );
kernelSincos( x, 0.0, sine, cosine );
return;
}

// Case: x is NaN or infinity
Expand Down

0 comments on commit 47f6ba7

Please sign in to comment.