Skip to content

Commit

Permalink
Merge develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbadr committed Jan 23, 2024
2 parents da412a0 + 277167c commit 37f42cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rstan/rstan/inst/include/rstan/io/r_ostream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ namespace rstan {
return 0;
}

virtual std::streamsize xsputn(const char_type* s, std::streamsize n) {
Rprintf("%.*s", static_cast<int>(n), s);
virtual std::streamsize xsputn(const char_type* s, const int n) {
Rprintf("%.*s", n, s);
return n;
}
};
Expand All @@ -67,8 +67,8 @@ namespace rstan {
return 0;
}

virtual std::streamsize xsputn(const char_type* s, std::streamsize n) {
REprintf("%.*s", static_cast<int>(n), s);
virtual std::streamsize xsputn(const char_type* s, const int n) {
REprintf("%.*s", n, s);
return n;
}
};
Expand Down

0 comments on commit 37f42cd

Please sign in to comment.