Skip to content

Commit

Permalink
Remove out-of-date code
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed May 15, 2024
1 parent 8d0d00b commit 0e27238
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions inst/include/dust2/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@ class dust_cpu {
std::swap(state_, state_next_);
}

template <typename Iter>
void set_state(Iter iter) {
std::copy_n(iter, state_.size(), state_.begin());
}

auto& state() const {
return state_;
}
Expand Down
1 change: 0 additions & 1 deletion inst/include/dust2/r/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ SEXP dust2_cpu_alloc(cpp11::list r_pars,
}
cpp11::sexp r_n_state = cpp11::as_sexp(obj->n_state());
cpp11::sexp r_grouped = cpp11::as_sexp(grouped);
// cpp11::sexp r_group_names = grouped ? r_pars.attr("names") : cpp11::as_sexp(R_NilValue);

return cpp11::writable::list{ptr, r_n_state, r_grouped, r_group_names};
}
Expand Down

0 comments on commit 0e27238

Please sign in to comment.