{"action":"opened","issue":{"url":"https://api.github.com/repos/roboptim/roboptim-core-manifold/issues/9","labels_url":"https://api.github.com/repos/roboptim/roboptim-core-manifold/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/roboptim/roboptim-core-manifold/issues/9/comments","events_url":"https://api.github.com/repos/roboptim/roboptim-core-manifold/issues/9/events","html_url":"https://github.com/roboptim/roboptim-core-manifold/issues/9","id":85468706,"number":9,"title":"Generating an empty problem crashes the program","user":{"login":"Delca","id":6437965,"avatar_url":"https://avatars.githubusercontent.com/u/6437965?v=3","gravatar_id":"","url":"https://api.github.com/users/Delca","html_url":"https://github.com/Delca","followers_url":"https://api.github.com/users/Delca/followers","following_url":"https://api.github.com/users/Delca/following{/other_user}","gists_url":"https://api.github.com/users/Delca/gists{/gist_id}","starred_url":"https://api.github.com/users/Delca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delca/subscriptions","organizations_url":"https://api.github.com/users/Delca/orgs","repos_url":"https://api.github.com/users/Delca/repos","events_url":"https://api.github.com/users/Delca/events{/privacy}","received_events_url":"https://api.github.com/users/Delca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T08:11:58Z","updated_at":"2015-06-05T08:11:58Z","closed_at":null,"body":"Because we try to create the default constraint from the accumulated manifolds, if no constraints were added to the problem, the generated manifold has a size of 0, causing the RobOptim assert in the function's constructor to end the execution.\r\nThe simplest workaround is to check the size of the manifold so as to display an error message from our side of the code."}}