Closed SteveBronder closed 1 year ago
Oh, I put together https://github.com/stan-dev/stan/pull/3139 to do the same thing.
These need to be arguments to the existing function, not a new overload, or else model.get_param_names(vec)
becomes ambiguous and fails to compile
Subsumed by #3139
Submission Checklist
./runTests.py src/test/unit
make cpplint
Summary
Uses https://github.com/stan-dev/stanc3/pull/1241 to get back only the parameter names when setting initial values, Fixes https://github.com/stan-dev/stanc3/issues/1240 so that when the user specifies initial values they are only run once.
This PR will fail until https://github.com/stan-dev/stanc3/pull/1241 is merged
Intended Effect
Fixes https://github.com/stan-dev/stanc3/issues/1240
How to Verify
Do I need additional tests for this? I'm not sure what kind of test we would want.
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): Steve Bronder
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: