Skip to content

Commit

Permalink
Got rid of some more dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Aug 10, 2024
1 parent 1790986 commit 14bd36e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/generics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ Value_* prepare_output(Matrix_& mat, bool report, int k, int nobs) {
}
}

template<typename Value_>
std::vector<Value_>* prepare_buffer(std::vector<Value_>& buffer, bool report, int k) {
if (report) {
buffer.reserve(k);
return &buffer;
} else {
return NULL;
}
}

template<typename Vector_, typename Value_>
Rcpp::List format_range_output(const std::vector<std::vector<Value_> >& results) {
Rcpp::List output(results.size());
Expand Down

0 comments on commit 14bd36e

Please sign in to comment.