{"action":"created","issue":{"url":"https://api.github.com/repos/kLabUM/rrcf/issues/31","repository_url":"https://api.github.com/repos/kLabUM/rrcf","labels_url":"https://api.github.com/repos/kLabUM/rrcf/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/kLabUM/rrcf/issues/31/comments","events_url":"https://api.github.com/repos/kLabUM/rrcf/issues/31/events","html_url":"https://github.com/kLabUM/rrcf/issues/31","id":382441881,"node_id":"MDU6SXNzdWUzODI0NDE4ODE=","number":31,"title":"Duplicates seem to break batch instantiation","user":{"login":"mdbartos","id":8175317,"node_id":"MDQ6VXNlcjgxNzUzMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8175317?v=4","gravatar_id":"","url":"https://api.github.com/users/mdbartos","html_url":"https://github.com/mdbartos","followers_url":"https://api.github.com/users/mdbartos/followers","following_url":"https://api.github.com/users/mdbartos/following{/other_user}","gists_url":"https://api.github.com/users/mdbartos/gists{/gist_id}","starred_url":"https://api.github.com/users/mdbartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdbartos/subscriptions","organizations_url":"https://api.github.com/users/mdbartos/orgs","repos_url":"https://api.github.com/users/mdbartos/repos","events_url":"https://api.github.com/users/mdbartos/events{/privacy}","received_events_url":"https://api.github.com/users/mdbartos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-19T23:56:35Z","updated_at":"2018-11-20T02:49:35Z","closed_at":"2018-11-20T02:49:35Z","author_association":"CONTRIBUTOR","body":"Traceback:\r\n\r\n```python\r\n    157         else:\r\n    158             # Create a leaf node from isolated point\r\n--> 159             i = np.asscalar(np.flatnonzero(S2))\r\n    160             leaf = Leaf(i=i, d=depth, u=branch, x=X[i, :], n=N[i])\r\n    161             # Link leaf node to parent\r\n\r\n/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/lib/type_check.py in asscalar(a)\r\n    487 \r\n    488     \"\"\"\r\n--> 489     return a.item()\r\n    490 \r\n    491 #-----------------------------------------------------------------------------\r\n\r\nValueError: can only convert an array of size 1 to a Python scalar\r\n```"},"comment":{"url":"https://api.github.com/repos/kLabUM/rrcf/issues/comments/440118157","html_url":"https://github.com/kLabUM/rrcf/issues/31#issuecomment-440118157","issue_url":"https://api.github.com/repos/kLabUM/rrcf/issues/31","id":440118157,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDExODE1Nw==","user":{"login":"mdbartos","id":8175317,"node_id":"MDQ6VXNlcjgxNzUzMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8175317?v=4","gravatar_id":"","url":"https://api.github.com/users/mdbartos","html_url":"https://github.com/mdbartos","followers_url":"https://api.github.com/users/mdbartos/followers","following_url":"https://api.github.com/users/mdbartos/following{/other_user}","gists_url":"https://api.github.com/users/mdbartos/gists{/gist_id}","starred_url":"https://api.github.com/users/mdbartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdbartos/subscriptions","organizations_url":"https://api.github.com/users/mdbartos/orgs","repos_url":"https://api.github.com/users/mdbartos/repos","events_url":"https://api.github.com/users/mdbartos/events{/privacy}","received_events_url":"https://api.github.com/users/mdbartos/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T02:49:35Z","updated_at":"2018-11-20T02:49:35Z","author_association":"CONTRIBUTOR","body":"Fixed in #32 "}}
{"actor":{"display_login":"mdbartos"}}