You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for figuring this out. This is why I was asking if there was a newline appended to all of the callbacks. I had thought the answer was "no", but it's apparently "yes"!
The issue arose because I assumed there wasn't a newline inserted at the end of each message. If we are going to add newlines, then we probably do not want to ignore blank lines, as they correspond to newlines in the output.
Summary:
The console output of the laplace_sample method contains hundreds of blank lines.
Description:
This arises from two things:
stan/src/stan/services/optimize/laplace_sample.hpp
Line 64 in e043da7
To fix the former, remove newlines.
To fix the latter, check the stringstream before calling the logger.
Reproducible Steps:
Use CmdStan branch https://github.com/stan-dev/cmdstan/tree/feature/1123-laplace-approx to invoke the
laplace_sample
method, model and input files are in thesrc/test/test-models/
directory.Current Output:
the beginning of the console ouput from call to
laplace_sample
- refresh is default 100, so lots of whitespace between iteration messages.Expected Output:
Additional Information:
Provide any additional information here.
Current Version:
v2.30.0
The text was updated successfully, but these errors were encountered: