Skip to content

Commit

Permalink
Fix call to browser
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Nov 13, 2024
1 parent 2403eb3 commit c036fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/include/dust2/r/browser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void save(T x, const char * name, cpp11::environment env) {
template <typename T, size_t rank>
void save(T *x, array::dimensions<rank> dim, const char * name,
cpp11::environment env) {
const R_xlen_t size = dim.size();
const R_xlen_t size = dim.size;
cpp11::writable::doubles r_x(size);
std::copy_n(x, size, REAL(r_x));
if (rank > 1) {
Expand Down

0 comments on commit c036fdd

Please sign in to comment.