Skip to content

Commit 79dc830

Browse files
committed
chore: remove redundant assignment to 'f2'
--- 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: missing_dependencies - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: passed - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: passed - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: passed ---
1 parent 106c677 commit 79dc830

File tree

1 file changed

+0
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/hyp2f1/src

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ static double hyp2f1ra( const double a, const double b, const double c, const do
126126

127127
if ( da < 0.0 ) {
128128
// Backward recurrence...
129-
f2 = 0.0;
130129
f1 = hys2f1( t, b, c, x, &err );
131130
*loss += err;
132131
f0 = hys2f1( t-1.0, b, c, x, &err );
@@ -142,7 +141,6 @@ static double hyp2f1ra( const double a, const double b, const double c, const do
142141
}
143142
} else {
144143
// Forward recurrence...
145-
f2 = 0.0;
146144
f1 = hys2f1( t, b, c, x, &err );
147145
*loss += err;
148146
f0 = hys2f1( t+1.0, b, c, x, &err );

0 commit comments

Comments
 (0)