{"action":"closed","issue":{"url":"https://api.github.com/repos/brian-team/brian2/issues/620","labels_url":"https://api.github.com/repos/brian-team/brian2/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/brian-team/brian2/issues/620/comments","events_url":"https://api.github.com/repos/brian-team/brian2/issues/620/events","html_url":"https://github.com/brian-team/brian2/issues/620","id":125413673,"number":620,"title":"Constants not handled correctly in the \"order dependence\" warning","user":{"login":"mstimberg","id":1381982,"avatar_url":"https://avatars.githubusercontent.com/u/1381982?v=3","gravatar_id":"","url":"https://api.github.com/users/mstimberg","html_url":"https://github.com/mstimberg","followers_url":"https://api.github.com/users/mstimberg/followers","following_url":"https://api.github.com/users/mstimberg/following{/other_user}","gists_url":"https://api.github.com/users/mstimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mstimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstimberg/subscriptions","organizations_url":"https://api.github.com/users/mstimberg/orgs","repos_url":"https://api.github.com/users/mstimberg/repos","events_url":"https://api.github.com/users/mstimberg/events{/privacy}","received_events_url":"https://api.github.com/users/mstimberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brian-team/brian2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/brian-team/brian2/labels/component:%20codegen","name":"component: codegen","color":"0b02e1"},{"url":"https://api.github.com/repos/brian-team/brian2/labels/easy","name":"easy","color":"009800"},{"url":"https://api.github.com/repos/brian-team/brian2/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"mstimberg","id":1381982,"avatar_url":"https://avatars.githubusercontent.com/u/1381982?v=3","gravatar_id":"","url":"https://api.github.com/users/mstimberg","html_url":"https://github.com/mstimberg","followers_url":"https://api.github.com/users/mstimberg/followers","following_url":"https://api.github.com/users/mstimberg/following{/other_user}","gists_url":"https://api.github.com/users/mstimberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mstimberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstimberg/subscriptions","organizations_url":"https://api.github.com/users/mstimberg/orgs","repos_url":"https://api.github.com/users/mstimberg/repos","events_url":"https://api.github.com/users/mstimberg/events{/privacy}","received_events_url":"https://api.github.com/users/mstimberg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/brian-team/brian2/milestones/5","html_url":"https://github.com/brian-team/brian2/milestones/2.0","labels_url":"https://api.github.com/repos/brian-team/brian2/milestones/5/labels","id":380500,"number":5,"title":"2.0","description":"First widely announced full release version of Brian 2.","creator":{"login":"thesamovar","id":2903870,"avatar_url":"https://avatars.githubusercontent.com/u/2903870?v=3","gravatar_id":"","url":"https://api.github.com/users/thesamovar","html_url":"https://github.com/thesamovar","followers_url":"https://api.github.com/users/thesamovar/followers","following_url":"https://api.github.com/users/thesamovar/following{/other_user}","gists_url":"https://api.github.com/users/thesamovar/gists{/gist_id}","starred_url":"https://api.github.com/users/thesamovar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesamovar/subscriptions","organizations_url":"https://api.github.com/users/thesamovar/orgs","repos_url":"https://api.github.com/users/thesamovar/repos","events_url":"https://api.github.com/users/thesamovar/events{/privacy}","received_events_url":"https://api.github.com/users/thesamovar/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":51,"state":"open","created_at":"2013-07-17T13:52:20Z","updated_at":"2016-01-08T18:38:37Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-07T15:20:47Z","updated_at":"2016-01-08T18:38:37Z","closed_at":"2016-01-08T18:38:37Z","body":"The example `frompapers/Brette_2012/Fig5A.py` contains the synaptic `pre` statement `v = EL` which currently triggers the warning about an order dependence. This would be correct if `EL` was a synaptic variable but it is a scalar constant, so the order of execution does not matter. This should be straightforward to fix, I'll also add a test for this situation."}}