Skip to content

Commit

Permalink
refactor: move return statement
Browse files Browse the repository at this point in the history
PR-URL: #2702
Reviewed-by: Athan Reines <kgryte@gmail.com>
  • Loading branch information
gunjjoshi committed Jul 29, 2024
1 parent ca6489f commit f00c6b6
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

1 comment on commit f00c6b6

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
math/base/special/sincos $\color{green}432/432$
$\color{green}+100.00\%$
$\color{green}20/20$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}432/432$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.