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

Better handling of transformed parameters that aren't referenced from the model #67

Open
joewing opened this issue May 15, 2018 · 0 comments

Comments

@joewing
Copy link
Contributor

joewing commented May 15, 2018

ScalaStan won't generate code for a transformed parameter that isn't referenced in the model. The assumption being that it's not used, but you could still reference the output of a transformed parameter (using it as a generated quantity). ScalaStan should either raise an exception when this happens or just handle it like we handle generated quantities.

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

No branches or pull requests

1 participant