Skip to content

fix: Let users specify initial values#98

Merged
riddell-stan merged 1 commit intostan-dev:masterfrom
riddell-stan:feature/issue94
Apr 17, 2020
Merged

fix: Let users specify initial values#98
riddell-stan merged 1 commit intostan-dev:masterfrom
riddell-stan:feature/issue94

Conversation

@riddell-stan
Copy link
Contributor

Closes #78

Copy link
Contributor

@ahartikainen ahartikainen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I added one question about the tests.

payload.update(kwargs)
payload["chain"] = chain
payload["data"] = self.data
payload["init"] = init.pop(0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice solution

real x;
}
parameters {
real mu;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to test for partial init (init for mu but not for another par)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the interest of time, I'm only translating the old pystan tests right now. We can add tests later if we want.

@riddell-stan riddell-stan merged commit 93612c4 into stan-dev:master Apr 17, 2020
@riddell-stan riddell-stan deleted the feature/issue94 branch April 17, 2020 13:05
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.

Cannot specify initial values

2 participants