Skip to content

Commit

Permalink
Correct R non_empty_domain
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenv committed Dec 12, 2024
1 parent 8df5d82 commit 5f00d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/r/src/rinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Rcpp::NumericVector maxshape(
// [[Rcpp::export]]
SEXP non_empty_domain(
const std::string& uri, Rcpp::XPtr<somactx_wrap_t> ctxxp) {
auto sdf = tdbs::SOMADataFrame::open(uri, OpenMode::read, ctxxp->ctxptr);
auto sdf = tdbs::SOMAArray::open(OpenMode::read, uri, ctxxp->ctxptr);
tdbs::ArrowTable arrow_table = sdf->get_non_empty_domain();
SEXP retval = convert_domainish(arrow_table);
sdf->close();
Expand Down

0 comments on commit 5f00d32

Please sign in to comment.