{"action":"created","issue":{"url":"https://api.github.com/repos/casadi/casadi/issues/1519","labels_url":"https://api.github.com/repos/casadi/casadi/issues/1519/labels{/name}","comments_url":"https://api.github.com/repos/casadi/casadi/issues/1519/comments","events_url":"https://api.github.com/repos/casadi/casadi/issues/1519/events","html_url":"https://github.com/casadi/casadi/issues/1519","id":99139451,"number":1519,"title":"error message when setting with wrong number of elements","user":{"login":"jgillis","id":329032,"avatar_url":"https://avatars.githubusercontent.com/u/329032?v=3","gravatar_id":"","url":"https://api.github.com/users/jgillis","html_url":"https://github.com/jgillis","followers_url":"https://api.github.com/users/jgillis/followers","following_url":"https://api.github.com/users/jgillis/following{/other_user}","gists_url":"https://api.github.com/users/jgillis/gists{/gist_id}","starred_url":"https://api.github.com/users/jgillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgillis/subscriptions","organizations_url":"https://api.github.com/users/jgillis/orgs","repos_url":"https://api.github.com/users/jgillis/repos","events_url":"https://api.github.com/users/jgillis/events{/privacy}","received_events_url":"https://api.github.com/users/jgillis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/casadi/casadi/labels/err%20messages","name":"err messages","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T07:03:50Z","updated_at":"2016-01-16T13:08:29Z","closed_at":"2016-01-16T13:08:29Z","body":"For 2.3.0:\r\n\r\n```\r\nFile \"test.py\", line 292, in <module>\r\n   solver.setInput(p0, \"p\")\r\n File \"/usr/lib/python2.7/dist-packages/casadi/casadi.py\", line 21874, in setInput\r\n   return _casadi.IOInterfaceFunction_setInput(self, *args)\r\nRuntimeError:  on line 378 of file \"/home/tim/casadi/./casadi/core/mx/../function/io_interface.hpp\"\r\nThe assertion \"val.size()==this->nnz()\" on line 2936 of file \"/home/tim/casadi/./casadi/core/sx/../matrix/matrix_impl.hpp\" failed.\r\nPlease notify the CasADi developers.\r\nOccurred at iind = 1.\r\n```"},"comment":{"url":"https://api.github.com/repos/casadi/casadi/issues/comments/172204567","html_url":"https://github.com/casadi/casadi/issues/1519#issuecomment-172204567","issue_url":"https://api.github.com/repos/casadi/casadi/issues/1519","id":172204567,"user":{"login":"jgillis","id":329032,"avatar_url":"https://avatars.githubusercontent.com/u/329032?v=3","gravatar_id":"","url":"https://api.github.com/users/jgillis","html_url":"https://github.com/jgillis","followers_url":"https://api.github.com/users/jgillis/followers","following_url":"https://api.github.com/users/jgillis/following{/other_user}","gists_url":"https://api.github.com/users/jgillis/gists{/gist_id}","starred_url":"https://api.github.com/users/jgillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgillis/subscriptions","organizations_url":"https://api.github.com/users/jgillis/orgs","repos_url":"https://api.github.com/users/jgillis/repos","events_url":"https://api.github.com/users/jgillis/events{/privacy}","received_events_url":"https://api.github.com/users/jgillis/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T13:08:29Z","updated_at":"2016-01-16T13:08:29Z","body":"Does not exist anymore in 3.0"}}