{"action":"closed","issue":{"url":"https://api.github.com/repos/marshallward/f90nml/issues/31","repository_url":"https://api.github.com/repos/marshallward/f90nml","labels_url":"https://api.github.com/repos/marshallward/f90nml/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/marshallward/f90nml/issues/31/comments","events_url":"https://api.github.com/repos/marshallward/f90nml/issues/31/events","html_url":"https://github.com/marshallward/f90nml/issues/31","id":166950516,"number":31,"title":"Zero-indexed array indices are ignored","user":{"login":"marshallward","id":462315,"avatar_url":"https://avatars.githubusercontent.com/u/462315?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallward","html_url":"https://github.com/marshallward","followers_url":"https://api.github.com/users/marshallward/followers","following_url":"https://api.github.com/users/marshallward/following{/other_user}","gists_url":"https://api.github.com/users/marshallward/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallward/subscriptions","organizations_url":"https://api.github.com/users/marshallward/orgs","repos_url":"https://api.github.com/users/marshallward/repos","events_url":"https://api.github.com/users/marshallward/events{/privacy}","received_events_url":"https://api.github.com/users/marshallward/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marshallward/f90nml/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-22T01:07:50Z","updated_at":"2016-07-23T14:25:27Z","closed_at":"2016-07-23T14:25:27Z","body":"If we have a zero-indexed array, e.g.\r\n\r\n    &nml_group\r\n        y(0:3) = 1, 2, 3, 4\r\n    /\r\n\r\nthen it incorrectly interprets 0 as `None` (due to a bug in `FIndex`) and uses the default value of 1.  The above case fails because there are more than 3 values in the array and the iterator runs out of indices."}}
{"actor":{"display_login":"marshallward"}}