Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use std::endl to flush Stan prints #1301

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Use std::endl to flush Stan prints #1301

merged 1 commit into from
Mar 28, 2023

Conversation

WardBrian
Copy link
Member

Submission Checklist

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:
    • OR, no user-facing changes were made

Release notes

When printing we currently just append a \n character, but this will not always cause the print to flush.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Merging #1301 (ef251a1) into master (a490a09) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1301   +/-   ##
=======================================
  Coverage   89.02%   89.03%           
=======================================
  Files          64       64           
  Lines        9752     9754    +2     
=======================================
+ Hits         8682     8684    +2     
  Misses       1070     1070           
Impacted Files Coverage Δ
src/stan_math_backend/Cpp.ml 86.70% <100.00%> (+0.07%) ⬆️
src/stan_math_backend/Lower_stmt.ml 96.84% <100.00%> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants