{"action":"created","issue":{"url":"https://api.github.com/repos/nimble-dev/nimble/issues/16","labels_url":"https://api.github.com/repos/nimble-dev/nimble/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/nimble-dev/nimble/issues/16/comments","events_url":"https://api.github.com/repos/nimble-dev/nimble/issues/16/events","html_url":"https://github.com/nimble-dev/nimble/issues/16","id":72560172,"number":16,"title":"figure out way to propagate initial values for lifted nodes from LHS link","user":{"login":"paciorek","id":2501598,"avatar_url":"https://avatars.githubusercontent.com/u/2501598?v=3","gravatar_id":"","url":"https://api.github.com/users/paciorek","html_url":"https://github.com/paciorek","followers_url":"https://api.github.com/users/paciorek/followers","following_url":"https://api.github.com/users/paciorek/following{/other_user}","gists_url":"https://api.github.com/users/paciorek/gists{/gist_id}","starred_url":"https://api.github.com/users/paciorek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paciorek/subscriptions","organizations_url":"https://api.github.com/users/paciorek/orgs","repos_url":"https://api.github.com/users/paciorek/repos","events_url":"https://api.github.com/users/paciorek/events{/privacy}","received_events_url":"https://api.github.com/users/paciorek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-02T01:09:12Z","updated_at":"2015-05-04T23:00:47Z","closed_at":null,"body":"e.g.,\r\n\r\nlog(mu) ~ dnorm(0,1)\r\n\r\nuser will initialize mu, but log_mu will not be initialized"},"comment":{"url":"https://api.github.com/repos/nimble-dev/nimble/issues/comments/98880405","html_url":"https://github.com/nimble-dev/nimble/issues/16#issuecomment-98880405","issue_url":"https://api.github.com/repos/nimble-dev/nimble/issues/16","id":98880405,"user":{"login":"danielturek","id":4511457,"avatar_url":"https://avatars.githubusercontent.com/u/4511457?v=3","gravatar_id":"","url":"https://api.github.com/users/danielturek","html_url":"https://github.com/danielturek","followers_url":"https://api.github.com/users/danielturek/followers","following_url":"https://api.github.com/users/danielturek/following{/other_user}","gists_url":"https://api.github.com/users/danielturek/gists{/gist_id}","starred_url":"https://api.github.com/users/danielturek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielturek/subscriptions","organizations_url":"https://api.github.com/users/danielturek/orgs","repos_url":"https://api.github.com/users/danielturek/repos","events_url":"https://api.github.com/users/danielturek/events{/privacy}","received_events_url":"https://api.github.com/users/danielturek/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T23:00:47Z","updated_at":"2015-05-04T23:00:47Z","body":"I would unequivocally suggest that if we implement that on the R side\n(initializing \"mu\" automatically initializes \"log_mu\"), then we should\nsupport the same behaviour in C++.\n\nDaniel\n\n\nOn Mon, May 4, 2015 at 3:54 PM, perrydv <notifications@github.com> wrote:\n\n> I think there are separate aspects of this issue for R execution and\n> compilation. For R execution (used during initialization), we could arrange\n> for the active binding for mu to automatically set log_mu. We'd have to\n> keep track of all links for all scalar elements in a variable, but we could\n> do that. If we also want compiled run code like model[[\"mu\"]] <- 5 to\n> automatically initialize log_mu, that would be a separate project. One way\n> would be to generate a set of \"nodeFunctions\" for the task that aren't ever\n> found from the model graph but can be used as nodeFunctionVector in\n> compiled code. Do we want both?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/nimble-dev/nimble/issues/16#issuecomment-98879685>.\n>\n"}}