{"action":"closed","issue":{"url":"https://api.github.com/repos/VisionLabs/torch-opencv/issues/117","repository_url":"https://api.github.com/repos/VisionLabs/torch-opencv","labels_url":"https://api.github.com/repos/VisionLabs/torch-opencv/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/VisionLabs/torch-opencv/issues/117/comments","events_url":"https://api.github.com/repos/VisionLabs/torch-opencv/issues/117/events","html_url":"https://github.com/VisionLabs/torch-opencv/issues/117","id":151990809,"number":117,"title":"Bug in boxFilter","user":{"login":"JesseYang","id":499122,"avatar_url":"https://avatars.githubusercontent.com/u/499122?v=3","gravatar_id":"","url":"https://api.github.com/users/JesseYang","html_url":"https://github.com/JesseYang","followers_url":"https://api.github.com/users/JesseYang/followers","following_url":"https://api.github.com/users/JesseYang/following{/other_user}","gists_url":"https://api.github.com/users/JesseYang/gists{/gist_id}","starred_url":"https://api.github.com/users/JesseYang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesseYang/subscriptions","organizations_url":"https://api.github.com/users/JesseYang/orgs","repos_url":"https://api.github.com/users/JesseYang/repos","events_url":"https://api.github.com/users/JesseYang/events{/privacy}","received_events_url":"https://api.github.com/users/JesseYang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-30T00:00:59Z","updated_at":"2016-04-30T07:52:14Z","closed_at":"2016-04-30T07:52:14Z","body":"in cv/imgproc/init.lua\r\n\r\nNow line 586-588:\r\n\r\n`        C.boxFilter(\r\n            cv.wrap_tensor(src), cv.wrap_tensor(dst), ddepth, ksize[1],\r\n            ksize[2], anchor, normalize, borderType))`\r\n\r\nWhen I use cv.boxFilter, it always complains: ...cv/imgproc/init.lua:587: 'struct SizeWrapper' cannot be indexed with 'number'\r\n\r\nI change line 586-588 as below and it works::\r\n\r\n`        C.boxFilter(\r\n            cv.wrap_tensor(src), cv.wrap_tensor(dst), ddepth, ksize,\r\n            anchor, normalize, borderType))`"}}