Skip to content

Commit 758249e

Browse files
committed
chore: minor clean-up of example code
--- 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: passed - 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: passed - 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 3561b96 commit 758249e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ stdlib_complex128_t stdlib_base_ccis( const stdlib_complex128_t z ) {
6868
stdlib_complex128_reim( z, &re, &im );
6969

7070
stdlib_base_sincos( re, &y, &x );
71-
if( im != 0.0 ) {
71+
if ( im != 0.0 ) {
7272
e = stdlib_base_exp( -im );
7373
y *= e;
7474
x *= e;

lib/node_modules/@stdlib/math/base/special/invf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ int main( void ) {
171171
int i;
172172
for ( i = 0; i < 4; i++ ) {
173173
y = stdlib_base_invf( x[ i ] );
174-
printf( "inv(%f) = %f\n", x[ i ], y );
174+
printf( "invf(%f) = %f\n", x[ i ], y );
175175
}
176176
}
177177
```

lib/node_modules/@stdlib/math/base/special/riemann-zeta/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ int main( void ) {
174174
175175
double v;
176176
int i;
177-
for ( i = 0; i < 1; i++ ) {
177+
for ( i = 0; i < 10; i++ ) {
178178
v = stdlib_base_zeta( s[ i ] );
179179
printf( "zeta(%lf) = %lf\n", s[ i ], v );
180180
}

0 commit comments

Comments
 (0)