Skip to content

Commit c61ea86

Browse files
committed
refactor: move return statement
PR-URL: stdlib-js#2702 Reviewed-by: Athan Reines <[email protected]>
1 parent e6b33e0 commit c61ea86

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/sincos/src

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/math/base/special/sincos/src/main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ void stdlib_base_sincos( const double x, double* sine, double* cosine ) {
125125
*cosine = 0.0;
126126
}
127127
}
128-
return kernelSincos( x, 0.0, sine, cosine );
128+
kernelSincos( x, 0.0, sine, cosine );
129+
return;
129130
}
130131

131132
// Case: x is NaN or infinity

0 commit comments

Comments
 (0)