Skip to content

Commit

Permalink
also add the names of the columns that were previously created
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisGoosen committed Feb 29, 2024
1 parent 22e5236 commit 3d736ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jaspColumn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ Rcpp::StringVector jaspColumn::createColumnsCPP(Rcpp::StringVector columnNames)
for(const std::string & columnName : colNames)
if(!getColumnExists(columnName))
result.push_back((*_createColumnFunc)(columnName));
else
result.push_back(encode(columnName));

return result;
}
Expand Down

0 comments on commit 3d736ee

Please sign in to comment.