{"action":"created","issue":{"url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/44","repository_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl","labels_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/44/comments","events_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/44/events","html_url":"https://github.com/STOR-i/GaussianProcesses.jl/issues/44","id":197406652,"number":44,"title":"Julia 0.5 error on `optimize!()`","user":{"login":"bisraelsen","id":3248556,"avatar_url":"https://avatars.githubusercontent.com/u/3248556?v=3","gravatar_id":"","url":"https://api.github.com/users/bisraelsen","html_url":"https://github.com/bisraelsen","followers_url":"https://api.github.com/users/bisraelsen/followers","following_url":"https://api.github.com/users/bisraelsen/following{/other_user}","gists_url":"https://api.github.com/users/bisraelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bisraelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisraelsen/subscriptions","organizations_url":"https://api.github.com/users/bisraelsen/orgs","repos_url":"https://api.github.com/users/bisraelsen/repos","events_url":"https://api.github.com/users/bisraelsen/events{/privacy}","received_events_url":"https://api.github.com/users/bisraelsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-23T17:47:59Z","updated_at":"2016-12-23T18:08:12Z","closed_at":null,"body":"I am getting the following error and a not sure what is wrong. I am calling `optimize!()` with a valid gp. I wasn't having this problem in Julia 0.4, and just switched to Julia 0.5.\r\n\r\n```\r\nERROR: LoadError: MethodError: no method matching set_params!(::GaussianProcesses.GP, ::Float64; noise=true, mean=true, kern=true)\r\nClosest candidates are:\r\n  set_params!(::GaussianProcesses.GP, ::Array{Float64,1}; noise, mean, kern) at /home/brett/.julia/v0.5/GaussianProcesses/src/GP.jl:275\r\n  set_params!{K<:GaussianProcesses.Kernel}(::GaussianProcesses.Masked{K<:GaussianProcesses.Kernel}, ::Any) at /home/brett/.julia/v0.5/GaussianProcesses/src/kernels/masked_kernel.jl:55 got unsupported keyword arguments \"noise\", \"mean\", \"kern\"\r\n in #optimize!#19(::Bool, ::Bool, ::Bool, ::Optim.ConjugateGradient{Void,Optim.##29#31,LineSearches.#hagerzhang!}, ::Array{Any,1}, ::Function, ::GaussianProcesses.GP) at /home/brett/.julia/v0.5/GaussianProcesses/src/optimize.jl:20\r\n in optimize!(::GaussianProcesses.GP) at /home/brett/.julia/v0.5/GaussianProcesses/src/optimize.jl:17\r\n in macro expansion; at /home/brett/GitProjects/TALAF_publications/Figures/scripts/1dBO_example.jl:130 [inlined]\r\n in anonymous at ./<missing>:?\r\n in include_from_node1(::String) at ./loading.jl:488\r\nwhile loading /home/brett/GitProjects/TALAF_publications/Figures/scripts/1dBO_example.jl, in expression starting on line 96\r\n```"},"comment":{"url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/comments/269026272","html_url":"https://github.com/STOR-i/GaussianProcesses.jl/issues/44#issuecomment-269026272","issue_url":"https://api.github.com/repos/STOR-i/GaussianProcesses.jl/issues/44","id":269026272,"user":{"login":"bisraelsen","id":3248556,"avatar_url":"https://avatars.githubusercontent.com/u/3248556?v=3","gravatar_id":"","url":"https://api.github.com/users/bisraelsen","html_url":"https://github.com/bisraelsen","followers_url":"https://api.github.com/users/bisraelsen/followers","following_url":"https://api.github.com/users/bisraelsen/following{/other_user}","gists_url":"https://api.github.com/users/bisraelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bisraelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisraelsen/subscriptions","organizations_url":"https://api.github.com/users/bisraelsen/orgs","repos_url":"https://api.github.com/users/bisraelsen/repos","events_url":"https://api.github.com/users/bisraelsen/events{/privacy}","received_events_url":"https://api.github.com/users/bisraelsen/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T18:08:12Z","updated_at":"2016-12-23T18:08:12Z","body":"Thanks for the quick reply. I thought I had checked out the latest just in case, but apparently I didn't. It is working now after using `Pkg.checkout()`."}}
{"actor":{"display_login":"bisraelsen"}}