Skip to content

Commit

Permalink
adjust getHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Oct 12, 2024
1 parent 2d61524 commit c349b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ampl::DataFrame rdf2df(Rcpp::DataFrame rdf, int numberOfIndexColumns){
Rcpp::DataFrame df2rdf(const ampl::DataFrame &df){
Rcpp::List tmp;
int ncols = df.getNumCols();
ampl::StringRefArray headers = df.getHeaders();
ampl::StringArray headers = df.getHeaders();
for(int i = 0; i < ncols; i++){
ampl::DataFrame::Column col = df.getColumn(headers[i]);
bool numeric = true;
Expand Down

0 comments on commit c349b50

Please sign in to comment.