{"action":"closed","issue":{"url":"https://api.github.com/repos/nest/nest-simulator/issues/643","repository_url":"https://api.github.com/repos/nest/nest-simulator","labels_url":"https://api.github.com/repos/nest/nest-simulator/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/nest/nest-simulator/issues/643/comments","events_url":"https://api.github.com/repos/nest/nest-simulator/issues/643/events","html_url":"https://github.com/nest/nest-simulator/issues/643","id":203410967,"number":643,"title":"Issue error message when attempting to set an invalid resolution","user":{"login":"heplesser","id":1059644,"avatar_url":"https://avatars3.githubusercontent.com/u/1059644?v=4","gravatar_id":"","url":"https://api.github.com/users/heplesser","html_url":"https://github.com/heplesser","followers_url":"https://api.github.com/users/heplesser/followers","following_url":"https://api.github.com/users/heplesser/following{/other_user}","gists_url":"https://api.github.com/users/heplesser/gists{/gist_id}","starred_url":"https://api.github.com/users/heplesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heplesser/subscriptions","organizations_url":"https://api.github.com/users/heplesser/orgs","repos_url":"https://api.github.com/users/heplesser/repos","events_url":"https://api.github.com/users/heplesser/events{/privacy}","received_events_url":"https://api.github.com/users/heplesser/received_events","type":"User","site_admin":false},"labels":[{"id":481181637,"url":"https://api.github.com/repos/nest/nest-simulator/labels/C:%20Kernel","name":"C: Kernel","color":"0fe600","default":false},{"id":481274440,"url":"https://api.github.com/repos/nest/nest-simulator/labels/I:%20No%20breaking%20change","name":"I: No breaking change","color":"cbd5ff","default":false},{"id":481272175,"url":"https://api.github.com/repos/nest/nest-simulator/labels/P:%20Pending","name":"P: Pending","color":"e2bfff","default":false},{"id":481273188,"url":"https://api.github.com/repos/nest/nest-simulator/labels/S:%20Low","name":"S: Low","color":"ffbfbf","default":false},{"id":481273470,"url":"https://api.github.com/repos/nest/nest-simulator/labels/T:%20Maintenance","name":"T: Maintenance","color":"ffd7a6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-26T16:06:33Z","updated_at":"2018-03-07T21:30:41Z","closed_at":"2018-03-07T21:30:41Z","author_association":"CONTRIBUTOR","body":"Since #265, simulation time must be a multiple of the resolution. This can lead to confusing error messages upon calls to `Simulate` if the resolution cannot be represented properly in tics. For example,\r\n```\r\n0 << /resolution 0.03125 >> SetStatus  % == 2^-5\r\n1 Simulate\r\n```\r\nwill lead to an error on the `Simulate` call, even though the simulation time is 32 times the resolution.\r\nThe problem is that with a default tic of 1 microsecond, NEST actually sets the resolution to 0.031, not 0.03125.  `SetStatus` should raise an error in this case.\r\n"}}
{"actor":{"display_login":"heplesser"}}