Skip to content

Commit a156dc5

Browse files
committed
style: remove trailing space after ;
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 99b9177 commit a156dc5

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

  • lib/node_modules/@stdlib/math/base/special/kernel-betainc/test/fixtures/cpp

lib/node_modules/@stdlib/math/base/special/kernel-betainc/test/fixtures/cpp/runner.cpp

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -241,37 +241,37 @@ void write_named_array_i32( FILE *f, const char *name, const int *x, const unsig
241241
*/
242242
void write_data_as_json(
243243
FILE *f,
244-
const double *x,
245-
const double *a,
246-
const double *b,
247-
const double *lower_regularized,
248-
const double *upper_regularized,
249-
const double *lower_unregularized,
250-
const double *upper_unregularized,
251-
const double *derivative_regularized,
252-
const double *derivative_unregularized,
253-
const unsigned int len
254-
) {
255-
fprintf( f, "{" );
256-
write_named_array_f64( f, "x", x, len );
244+
const double *x,
245+
const double *a,
246+
const double *b,
247+
const double *lower_regularized,
248+
const double *upper_regularized,
249+
const double *lower_unregularized,
250+
const double *upper_unregularized,
251+
const double *derivative_regularized,
252+
const double *derivative_unregularized,
253+
const unsigned int len
254+
) {
255+
fprintf( f, "{" );
256+
write_named_array_f64( f, "x", x, len );
257257
fprintf( f, "," );
258-
write_named_array_f64( f, "a", a, len );
258+
write_named_array_f64( f, "a", a, len );
259259
fprintf( f, "," );
260-
write_named_array_f64( f, "b", b, len );
260+
write_named_array_f64( f, "b", b, len );
261261
fprintf( f, "," );
262-
write_named_array_f64( f, "lower_regularized", lower_regularized, len );
262+
write_named_array_f64( f, "lower_regularized", lower_regularized, len );
263263
fprintf( f, "," );
264-
write_named_array_f64( f, "upper_regularized", upper_regularized, len );
264+
write_named_array_f64( f, "upper_regularized", upper_regularized, len );
265265
fprintf( f, "," );
266-
write_named_array_f64( f, "lower_unregularized", lower_unregularized, len );
266+
write_named_array_f64( f, "lower_unregularized", lower_unregularized, len );
267267
fprintf( f, "," );
268-
write_named_array_f64( f, "upper_unregularized", upper_unregularized, len );
268+
write_named_array_f64( f, "upper_unregularized", upper_unregularized, len );
269269
fprintf( f, "," );
270-
write_named_array_f64( f, "derivative_regularized", derivative_regularized, len );
270+
write_named_array_f64( f, "derivative_regularized", derivative_regularized, len );
271271
fprintf( f, "," );
272-
write_named_array_f64( f, "derivative_unregularized", derivative_unregularized, len );
273-
fprintf( f, "}" );
274-
}
272+
write_named_array_f64( f, "derivative_unregularized", derivative_unregularized, len );
273+
fprintf( f, "}" );
274+
}
275275

276276
/**
277277
* Generates test fixtures.
@@ -314,14 +314,14 @@ void generate( double *x, double *a, double *b, const unsigned int len, const ch
314314
exit( 1 );
315315
}
316316
derivative_regularized = (double*) malloc( len * sizeof(double) );
317-
if ( derivative_regularized == NULL ) {
318-
printf( "Error allocating memory.\n" );
319-
exit( 1 );
317+
if ( derivative_regularized == NULL ) {
318+
printf( "Error allocating memory.\n" );
319+
exit( 1 );
320320
}
321321
derivative_unregularized = (double*) malloc( len * sizeof(double) );
322-
if ( derivative_unregularized == NULL ) {
323-
printf( "Error allocating memory.\n" );
324-
exit( 1 );
322+
if ( derivative_unregularized == NULL ) {
323+
printf( "Error allocating memory.\n" );
324+
exit( 1 );
325325
}
326326

327327
// Generate fixture data:

0 commit comments

Comments
 (0)