{"action":"opened","issue":{"url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/10","repository_url":"https://api.github.com/repos/MarcLavielle/mlxR","labels_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/10/comments","events_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/10/events","html_url":"https://github.com/MarcLavielle/mlxR/issues/10","id":156222629,"number":10,"title":"Matching of correlation parameters in simpopmlx","user":{"login":"niklashartung","id":13316101,"avatar_url":"https://avatars.githubusercontent.com/u/13316101?v=3","gravatar_id":"","url":"https://api.github.com/users/niklashartung","html_url":"https://github.com/niklashartung","followers_url":"https://api.github.com/users/niklashartung/followers","following_url":"https://api.github.com/users/niklashartung/following{/other_user}","gists_url":"https://api.github.com/users/niklashartung/gists{/gist_id}","starred_url":"https://api.github.com/users/niklashartung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niklashartung/subscriptions","organizations_url":"https://api.github.com/users/niklashartung/orgs","repos_url":"https://api.github.com/users/niklashartung/repos","events_url":"https://api.github.com/users/niklashartung/events{/privacy}","received_events_url":"https://api.github.com/users/niklashartung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-23T08:11:29Z","updated_at":"2016-05-23T08:11:29Z","closed_at":null,"body":"Hi,\r\n\r\nin simpopmlx() line 31, correlation parameters are matched by\r\n`grep(\"r_\", pname)`\r\n\r\nShouldn't it be\r\n `grep(\"^r_\", pname)` (idem for `corr_`)?\r\n\r\nOtherwise, any structural parameter ending in `r` will also be matched. This does not cause any problems as long as the parameter itself contains no `_`.\r\n\r\nHowever, for a structural parameter named, say, `k_gr`, the following error appears:\r\n`Maximum number of iterations reached: could not draw definite positive correlation matrix`\r\nbecause it is mistakenly interpreted as a correlation parameter.\r\n\r\n\r\n"}}
{"actor":{"display_login":"niklashartung"}}