{"action":"created","issue":{"url":"https://api.github.com/repos/jeanluct/braidlab/issues/125","labels_url":"https://api.github.com/repos/jeanluct/braidlab/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/jeanluct/braidlab/issues/125/comments","events_url":"https://api.github.com/repos/jeanluct/braidlab/issues/125/events","html_url":"https://github.com/jeanluct/braidlab/issues/125","id":93617067,"number":125,"title":"Error in fetching number of strands for VPI braids","user":{"login":"mbudisic","id":748221,"avatar_url":"https://avatars.githubusercontent.com/u/748221?v=3","gravatar_id":"","url":"https://api.github.com/users/mbudisic","html_url":"https://github.com/mbudisic","followers_url":"https://api.github.com/users/mbudisic/followers","following_url":"https://api.github.com/users/mbudisic/following{/other_user}","gists_url":"https://api.github.com/users/mbudisic/gists{/gist_id}","starred_url":"https://api.github.com/users/mbudisic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbudisic/subscriptions","organizations_url":"https://api.github.com/users/mbudisic/orgs","repos_url":"https://api.github.com/users/mbudisic/repos","events_url":"https://api.github.com/users/mbudisic/events{/privacy}","received_events_url":"https://api.github.com/users/mbudisic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jeanluct/braidlab/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"mbudisic","id":748221,"avatar_url":"https://avatars.githubusercontent.com/u/748221?v=3","gravatar_id":"","url":"https://api.github.com/users/mbudisic","html_url":"https://github.com/mbudisic","followers_url":"https://api.github.com/users/mbudisic/followers","following_url":"https://api.github.com/users/mbudisic/following{/other_user}","gists_url":"https://api.github.com/users/mbudisic/gists{/gist_id}","starred_url":"https://api.github.com/users/mbudisic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbudisic/subscriptions","organizations_url":"https://api.github.com/users/mbudisic/orgs","repos_url":"https://api.github.com/users/mbudisic/repos","events_url":"https://api.github.com/users/mbudisic/events{/privacy}","received_events_url":"https://api.github.com/users/mbudisic/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-07T20:08:56Z","updated_at":"2015-07-07T20:26:56Z","closed_at":"2015-07-07T20:26:56Z","body":"The issue seems to be incompatible arguments to max elements.\r\n```\r\n>> B = braidlab.braid([1,-2],'vpi')\r\n\r\nB = \r\n\r\n < 1 -2 >\r\n\r\n>> B.n\r\nError using max\r\nMixed inputs must be either single and double or integer and scalar double. All other combinations are not allowed.\r\n\r\nError in braidlab.braid/get.n (line 276)\r\n      value = double(max(max(abs(obj.word))+1,obj.privaten));\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/jeanluct/braidlab/issues/comments/119326166","html_url":"https://github.com/jeanluct/braidlab/issues/125#issuecomment-119326166","issue_url":"https://api.github.com/repos/jeanluct/braidlab/issues/125","id":119326166,"user":{"login":"mbudisic","id":748221,"avatar_url":"https://avatars.githubusercontent.com/u/748221?v=3","gravatar_id":"","url":"https://api.github.com/users/mbudisic","html_url":"https://github.com/mbudisic","followers_url":"https://api.github.com/users/mbudisic/followers","following_url":"https://api.github.com/users/mbudisic/following{/other_user}","gists_url":"https://api.github.com/users/mbudisic/gists{/gist_id}","starred_url":"https://api.github.com/users/mbudisic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbudisic/subscriptions","organizations_url":"https://api.github.com/users/mbudisic/orgs","repos_url":"https://api.github.com/users/mbudisic/repos","events_url":"https://api.github.com/users/mbudisic/events{/privacy}","received_events_url":"https://api.github.com/users/mbudisic/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T20:26:56Z","updated_at":"2015-07-07T20:26:56Z","body":"Silly me: there are no VPI braids. But this uncovered a bug in ```braid.setn``` that allowed setting non-numeric values as number of strands. Fixed by 52e1e46cafa42af53e4dec991341d0000308da33"}}