Skip to content

Commit fd8fdd2

Browse files
src/continued_fraction.hpp: removing the return_degree function as it was never used
1 parent ef0dc93 commit fd8fdd2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/continued_fraction.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ struct ContinuedFraction {
4444
std::vector<double> &estimates) const;
4545

4646
bool is_valid() const { return !cf_coeffs.empty(); }
47-
size_t return_degree() const { return degree; }
4847

4948
std::vector<double> ps_coeffs;
5049
std::vector<double> cf_coeffs;
@@ -71,8 +70,6 @@ class ContinuedFractionApproximation {
7170
ContinuedFraction
7271
optimal_cont_frac_distinct(const std::vector<double> &counts_hist) const;
7372

74-
int get_diagonal() const { return diagonal_idx; }
75-
7673
private:
7774
int diagonal_idx; // the diagonal to work with for estimates
7875
size_t max_terms; // the maximum number of terms to try for a CF

0 commit comments

Comments
 (0)