{"action":"closed","issue":{"url":"https://api.github.com/repos/gama-platform/gama/issues/1877","repository_url":"https://api.github.com/repos/gama-platform/gama","labels_url":"https://api.github.com/repos/gama-platform/gama/issues/1877/labels{/name}","comments_url":"https://api.github.com/repos/gama-platform/gama/issues/1877/comments","events_url":"https://api.github.com/repos/gama-platform/gama/issues/1877/events","html_url":"https://github.com/gama-platform/gama/issues/1877","id":159215827,"number":1877,"title":"change in gaml code and random seed gives different results","user":{"login":"sriramab","id":12668606,"avatar_url":"https://avatars.githubusercontent.com/u/12668606?v=3","gravatar_id":"","url":"https://api.github.com/users/sriramab","html_url":"https://github.com/sriramab","followers_url":"https://api.github.com/users/sriramab/followers","following_url":"https://api.github.com/users/sriramab/following{/other_user}","gists_url":"https://api.github.com/users/sriramab/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramab/subscriptions","organizations_url":"https://api.github.com/users/sriramab/orgs","repos_url":"https://api.github.com/users/sriramab/repos","events_url":"https://api.github.com/users/sriramab/events{/privacy}","received_events_url":"https://api.github.com/users/sriramab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20GAML","name":"Concerns GAML","color":"207de5"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20Modeling","name":"Concerns Modeling","color":"207de5"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20Simulation","name":"Concerns Simulation","color":"207de5"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Topology%20Grids","name":"Topology Grids","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-08T16:48:34Z","updated_at":"2016-06-09T04:22:25Z","closed_at":"2016-06-09T04:22:25Z","body":"### Steps to reproduce\r\n1. Open a grid model, write a small piece of code: `random_cell <- one_of(cell);` colour it red or blue or any\r\n\r\n2. place a seed in experiment, i used 0.5140073008712904\r\n\r\n3. run the model and take note of the cell.\r\n\r\n4. add this code ( i checked only this code), i placed it inside init block of cell grid.\r\nmy_4_ordered_neighbors <- neighbors sort_by (each direction_to self);\r\n\r\n5. run the model and take note of the random_cell, its different. But Seed is the same.\r\n\r\n### Expected behaviour\r\nthe randomly selected cell should remain same with given seed.\r\n\r\n### Actual behaviour\r\nrandom_cell  changed when I added just one line of code, as in step 4 above.\r\n\r\n### System and version \r\nGAMA GIT and GAMA, java 8, mac mavericks\r\n\r\n"}}
{"actor":{"display_login":"AlexisDrogoul"}}