{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/Lora.jl/issues/77","labels_url":"https://api.github.com/repos/JuliaStats/Lora.jl/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/Lora.jl/issues/77/comments","events_url":"https://api.github.com/repos/JuliaStats/Lora.jl/issues/77/events","html_url":"https://github.com/JuliaStats/Lora.jl/issues/77","id":59394812,"number":77,"title":"Bug in MCLikelihood","user":{"login":"scidom","id":2519036,"avatar_url":"https://avatars.githubusercontent.com/u/2519036?v=3","gravatar_id":"","url":"https://api.github.com/users/scidom","html_url":"https://github.com/scidom","followers_url":"https://api.github.com/users/scidom/followers","following_url":"https://api.github.com/users/scidom/following{/other_user}","gists_url":"https://api.github.com/users/scidom/gists{/gist_id}","starred_url":"https://api.github.com/users/scidom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scidom/subscriptions","organizations_url":"https://api.github.com/users/scidom/orgs","repos_url":"https://api.github.com/users/scidom/repos","events_url":"https://api.github.com/users/scidom/events{/privacy}","received_events_url":"https://api.github.com/users/scidom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T12:52:50Z","updated_at":"2015-12-24T11:55:35Z","closed_at":"2015-12-24T11:55:35Z","body":"@fredo-dedup there is a bug in `MCLikelihood`. I will update the code as soon as I find the fix, unless you are faster than me. Here is the bug:\r\n\r\n```\r\nusing Lora\r\nMCLikelihood(x->x)\r\n```\r\n\r\nThis returns\r\n\r\n```\r\nERROR: TypeError: non-boolean (Array{Bool,1}) used in boolean context\r\n in call at C:\\Users\\theodore\\.julia\\v0.4\\Lora\\src\\models/MCLikelihood.jl:57\r\n in MCLikelihood at C:\\Users\\theodore\\.julia\\v0.4\\Lora\\src\\models/MCLikelihood.jl:138\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaStats/Lora.jl/issues/comments/167099282","html_url":"https://github.com/JuliaStats/Lora.jl/issues/77#issuecomment-167099282","issue_url":"https://api.github.com/repos/JuliaStats/Lora.jl/issues/77","id":167099282,"user":{"login":"scidom","id":2519036,"avatar_url":"https://avatars.githubusercontent.com/u/2519036?v=3","gravatar_id":"","url":"https://api.github.com/users/scidom","html_url":"https://github.com/scidom","followers_url":"https://api.github.com/users/scidom/followers","following_url":"https://api.github.com/users/scidom/following{/other_user}","gists_url":"https://api.github.com/users/scidom/gists{/gist_id}","starred_url":"https://api.github.com/users/scidom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scidom/subscriptions","organizations_url":"https://api.github.com/users/scidom/orgs","repos_url":"https://api.github.com/users/scidom/repos","events_url":"https://api.github.com/users/scidom/events{/privacy}","received_events_url":"https://api.github.com/users/scidom/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T11:55:35Z","updated_at":"2015-12-24T11:55:35Z","body":"This is now irrelevant, as parameters are used instead of MCLikelihood."}}