{"action":"created","issue":{"url":"https://api.github.com/repos/stan-dev/stan/issues/1126","labels_url":"https://api.github.com/repos/stan-dev/stan/issues/1126/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/stan/issues/1126/comments","events_url":"https://api.github.com/repos/stan-dev/stan/issues/1126/events","html_url":"https://github.com/stan-dev/stan/issues/1126","id":48099781,"number":1126,"title":"duplicate error message?","user":{"login":"maverickg","id":68500,"avatar_url":"https://avatars.githubusercontent.com/u/68500?v=3","gravatar_id":"","url":"https://api.github.com/users/maverickg","html_url":"https://github.com/maverickg","followers_url":"https://api.github.com/users/maverickg/followers","following_url":"https://api.github.com/users/maverickg/following{/other_user}","gists_url":"https://api.github.com/users/maverickg/gists{/gist_id}","starred_url":"https://api.github.com/users/maverickg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maverickg/subscriptions","organizations_url":"https://api.github.com/users/maverickg/orgs","repos_url":"https://api.github.com/users/maverickg/repos","events_url":"https://api.github.com/users/maverickg/events{/privacy}","received_events_url":"https://api.github.com/users/maverickg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-07T16:15:23Z","updated_at":"2015-02-26T00:18:02Z","closed_at":"2015-02-26T00:18:02Z","body":"It looks like that there are duplicate error message below. \r\n\r\n```\r\n$ more test.stan\r\nparameters {\r\n  real y;\r\n  vector[3] x;\r\n}\r\ntransformed parameters {\r\n  vector<lower = 0, upper = 1>[3] p;\r\n  p <- inv_logit(x);\r\n}\r\nmodel {\r\n  y ~ normal(0, 1);\r\n}\r\n\r\n$ stanc --version\r\nstanc version 2.5.0\r\n$ stanc test.stan\r\nModel name=test_model\r\nInput file=test.stan\r\nOutput file=test_model.cpp\r\n\r\nSYNTAX ERROR, MESSAGE(S) FROM PARSER:\r\nno matches for function name=\"inv_logit\"\r\n    arg 0 type=vector\r\navailable function signatures for inv_logit:\r\n0.  inv_logit(real) : real\r\nno matches for function name=\"inv_logit\"\r\n    arg 0 type=vector\r\navailable function signatures for inv_logit:\r\n0.  inv_logit(real) : real\r\nexpression is ill formed\r\n\r\nERROR at line 7\r\n  5:    transformed parameters {\r\n  6:      vector<lower = 0, upper = 1>[3] p;\r\n  7:      p <- inv_logit(x);\r\n                           ^\r\n  8:    }\r\n\r\n\r\n\r\nExecute \"stanc --help\" for more information\r\n```\r\n\r\nShould the following appear only once?\r\n\r\n```\r\nno matches for function name=\"inv_logit\"\r\n    arg 0 type=vector\r\navailable function signatures for inv_logit:\r\n0.  inv_logit(real) : real\r\n```"},"comment":{"url":"https://api.github.com/repos/stan-dev/stan/issues/comments/76093526","html_url":"https://github.com/stan-dev/stan/issues/1126#issuecomment-76093526","issue_url":"https://api.github.com/repos/stan-dev/stan/issues/1126","id":76093526,"user":{"login":"bob-carpenter","id":3383807,"avatar_url":"https://avatars.githubusercontent.com/u/3383807?v=3","gravatar_id":"","url":"https://api.github.com/users/bob-carpenter","html_url":"https://github.com/bob-carpenter","followers_url":"https://api.github.com/users/bob-carpenter/followers","following_url":"https://api.github.com/users/bob-carpenter/following{/other_user}","gists_url":"https://api.github.com/users/bob-carpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/bob-carpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob-carpenter/subscriptions","organizations_url":"https://api.github.com/users/bob-carpenter/orgs","repos_url":"https://api.github.com/users/bob-carpenter/repos","events_url":"https://api.github.com/users/bob-carpenter/events{/privacy}","received_events_url":"https://api.github.com/users/bob-carpenter/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:18:02Z","updated_at":"2015-02-26T00:18:02Z","body":"I'll fix this as part of issue #1244, which I'm working on now.  I moved the examples over."}}