{"action":"closed","issue":{"url":"https://api.github.com/repos/lemire/javaewah/issues/59","labels_url":"https://api.github.com/repos/lemire/javaewah/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/lemire/javaewah/issues/59/comments","events_url":"https://api.github.com/repos/lemire/javaewah/issues/59/events","html_url":"https://github.com/lemire/javaewah/issues/59","id":120250137,"number":59,"title":"ChunkIterator not iterating correctly","user":{"login":"rhasselbaum","id":2018107,"avatar_url":"https://avatars.githubusercontent.com/u/2018107?v=3","gravatar_id":"","url":"https://api.github.com/users/rhasselbaum","html_url":"https://github.com/rhasselbaum","followers_url":"https://api.github.com/users/rhasselbaum/followers","following_url":"https://api.github.com/users/rhasselbaum/following{/other_user}","gists_url":"https://api.github.com/users/rhasselbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/rhasselbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhasselbaum/subscriptions","organizations_url":"https://api.github.com/users/rhasselbaum/orgs","repos_url":"https://api.github.com/users/rhasselbaum/repos","events_url":"https://api.github.com/users/rhasselbaum/events{/privacy}","received_events_url":"https://api.github.com/users/rhasselbaum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lemire/javaewah/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"gssiyankai","id":2707931,"avatar_url":"https://avatars.githubusercontent.com/u/2707931?v=3","gravatar_id":"","url":"https://api.github.com/users/gssiyankai","html_url":"https://github.com/gssiyankai","followers_url":"https://api.github.com/users/gssiyankai/followers","following_url":"https://api.github.com/users/gssiyankai/following{/other_user}","gists_url":"https://api.github.com/users/gssiyankai/gists{/gist_id}","starred_url":"https://api.github.com/users/gssiyankai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gssiyankai/subscriptions","organizations_url":"https://api.github.com/users/gssiyankai/orgs","repos_url":"https://api.github.com/users/gssiyankai/repos","events_url":"https://api.github.com/users/gssiyankai/events{/privacy}","received_events_url":"https://api.github.com/users/gssiyankai/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-12-03T19:31:09Z","updated_at":"2015-12-03T22:35:59Z","closed_at":"2015-12-03T22:35:59Z","body":"Similar to issue #58, I am seeing incorrect behavior in `ChunkIterator` in release 1.1.2. Sample code:\r\n\r\n```\r\nimport com.googlecode.javaewah.*;\r\n\r\nEWAHCompressedBitmap bitmap = EWAHCompressedBitmap.bitmapOf(243,260,1000);\r\nChunkIterator iter = bitmap.chunkIterator();\r\niter.move(245);\r\nassert iter.nextLength() == 15;  // fails; returns 691\r\n```\r\n"}}