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

Minor fix to cmd generation #55

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

andrewjradcliffe
Copy link
Contributor

This PR fixes accidental override of the term_buffer CmdStan arg
with init_buffer.

This PR fixes accidental override of the `term_buffer` CmdStan arg
with `init_buffer`.
@goedman goedman merged commit 07ec762 into StanJulia:master Aug 16, 2022
@goedman
Copy link
Collaborator

goedman commented Aug 16, 2022

Hi Andrew, thanks for your PR. I’m currently traveling without my laptop computer so I can’t test this fix. I did merge the PR but can’t do much more until Aug 29 when I have access to my computer again.

@goedman
Copy link
Collaborator

goedman commented Aug 16, 2022

It looks like the merge worked fine. When/how did you encounter this issue? Let me If you need this urgently and I’ll try to merge it asap

@andrewjradcliffe
Copy link
Contributor Author

Hi Rob, thanks for the quick reply. I discovered this when I was looking through the log files from a Stan run and noticed that term_buffer did not have the value supplied to the SampleModel constructor. I then checked the cmdline function and found the source.
The backstory is that I use StanSample/StanBase machinery insofar as possible, but provide a simple modification to the stan_cmds function so that I can supply extra options such as sig_figs=18. I should clean the code up and submit a PR, but I have been dragging my feet for nearly a year...

@goedman
Copy link
Collaborator

goedman commented Aug 18, 2022

For now I’ve created an issue to look into this when I have access to my computer again. I would like the SampleModel to indeed hold all possible arguments (a PR is of course always welcome).

goedman added a commit that referenced this pull request Dec 7, 2022
c7a425a Allow JSON data as a string (#60)
50fe2ec Update README examples section
e380e82 Reword docstrings
fb513e3 Reorganize and update documentation (#57)
96805fd Compile methods: split stanc args from make args, add default include path (#58)
f62bf46 Fix broken link
676db6b Bump actions/setup-python from 2 to 4 (#55)
34f10dd Remove CmdStan Dependency (#51)
821883f Prefix any C-exposed symbols with `bs_` (#54)
81129b0 Add the option for autodiff Hessian calculations (#52)

git-subtree-dir: deps/data/bridgestan
git-subtree-split: c7a425aac54120bafa643b722ed24b2a32111782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants