Skip to content

Commit f00c6b6

Browse files
authored
refactor: move return statement
PR-URL: #2702 Reviewed-by: Athan Reines <[email protected]>
1 parent ca6489f commit f00c6b6

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)