Skip to content

Commit

Permalink
refactor(Rcpp::Rcout): Adds () and spaces to print out
Browse files Browse the repository at this point in the history
  • Loading branch information
kellijohnson-NOAA committed Dec 18, 2024
1 parent 773c623 commit 569c590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/include/common/information.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ namespace fims_info {
d->x.insert(std::end(d->x),
std::begin(*(*vmit).second), std::end(*(*vmit).second));
}
FIMS_INFO_LOG("Random effect size for distribution " + fims::to_string(d->id) + "is: " + fims::to_string(d->x.size()));
FIMS_INFO_LOG("Random effect size for distribution " + fims::to_string(d->id) + " is: " + fims::to_string(d->x.size()));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion inst/include/interface/rcpp/rcpp_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ std::string get_output() {

ret = fims::JsonParser::PrettyFormatJSON(ss.str());
} else {
Rcpp::Rcout << "Invalid request to \"get_output\". Please call finalize first.";
Rcpp::Rcout << "Invalid request to \"get_output()\". Please call finalize() first.";
}
return ret;
}
Expand Down

0 comments on commit 569c590

Please sign in to comment.