stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.56k stars 366 forks source link

Log optimization errors on error channel #3238

Closed WardBrian closed 8 months ago

WardBrian commented 9 months ago

Submission Checklist

Summary

Similar to #3214, this makes it so an error message emitted by bfgs or lbfgs is not split between stderr and stdout but is entirely sent to stderr.

Intended Effect

How to Verify

Side Effects

Documentation

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: