Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix C lint errors (issue #6272) #6287

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/stats/base/dnanstdevwd/src/main.c
Original file line number Diff line number Diff line change
@@ -47,5 +47,5 @@ double API_SUFFIX(stdlib_strided_dnanstdevwd)( const CBLAS_INT N, const double c
* @return output value
*/
double API_SUFFIX(stdlib_strided_dnanstdevwd_ndarray)( const CBLAS_INT N, const double correction, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
return stdlib_base_sqrt( API_SUFFIX(stdlib_strided_dnanvariancewd_ndarray )( N, correction, X, strideX, offsetX ) );
return API_SUFFIX(stdlib_strided_dnanvariancewd_ndarray )( N, correction, X, strideX,offsetX);
}
Original file line number Diff line number Diff line change
@@ -31,10 +31,10 @@ static float complex scale( const float complex x ) {

int main( void ) {
// Create an input strided array:
float complex X[] = { 1.0+1.0*I, 2.0+2.0*I, 3.0+3.0*I, 4.0+4.0*I, 5.0+5.0*I, 6.0+6.0*I };
const float complex X[] = { 1.0+1.0*I, 2.0+2.0*I, 3.0+3.0*I, 4.0+4.0*I, 5.0+5.0*I, 6.0+6.0*I };

// Create an output strided array:
float complex Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
const float complex Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };

// Specify the number of elements:
int64_t N = 6;
Loading
Oops, something went wrong.