{"action":"opened","issue":{"url":"https://api.github.com/repos/ondras/rot.js/issues/97","repository_url":"https://api.github.com/repos/ondras/rot.js","labels_url":"https://api.github.com/repos/ondras/rot.js/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/ondras/rot.js/issues/97/comments","events_url":"https://api.github.com/repos/ondras/rot.js/issues/97/events","html_url":"https://github.com/ondras/rot.js/issues/97","id":166034846,"number":97,"title":"ROT.Map.Cellular.prototype._getNeighbors","user":{"login":"cmal","id":1773318,"avatar_url":"https://avatars.githubusercontent.com/u/1773318?v=3","gravatar_id":"","url":"https://api.github.com/users/cmal","html_url":"https://github.com/cmal","followers_url":"https://api.github.com/users/cmal/followers","following_url":"https://api.github.com/users/cmal/following{/other_user}","gists_url":"https://api.github.com/users/cmal/gists{/gist_id}","starred_url":"https://api.github.com/users/cmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmal/subscriptions","organizations_url":"https://api.github.com/users/cmal/orgs","repos_url":"https://api.github.com/users/cmal/repos","events_url":"https://api.github.com/users/cmal/events{/privacy}","received_events_url":"https://api.github.com/users/cmal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T07:31:36Z","updated_at":"2016-07-18T07:31:36Z","closed_at":null,"body":"I've been debugging my code and traced that the `dijkstra.compute` never go into my callback functions, then I found `this._computed` never include the key `fromX+\",\"+fromY`, then I found the _getNeighbors function didn't return the `fromX+\",\"+fromY` key. I go into the _getNeighbors function, and found the following code ,\r\n`if (x < 0 || x >= this._width || x < 0 || y >= this._width) { continue; }`,\r\ndid you mean `y < 0` after the second `||`?\r\nI've not finished my debugging, I don't think this is the problem. Because in the `interactive manual` the `fromX+\",\"+fromY` does show in the path finding computation. I'm still working with the problem, and hope further helps from you. Thank you for your excellent work!"}}
{"actor":{"display_login":"cmal"}}