Skip to content

Commit

Permalink
Merge 1acd8f5 into e4b5103
Browse files Browse the repository at this point in the history
  • Loading branch information
sjforeman committed Mar 4, 2019
2 parents e4b5103 + 1acd8f5 commit 37eceff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -3,6 +3,7 @@ Changelog

0.3.11 (Unreleased)
------------------
* :issue:`575`: Fix bug in painting particles to mesh in CatalogMesh

0.3.10 (2019-02-07)
------------------
Expand Down
2 changes: 1 addition & 1 deletion nbodykit/source/mesh/catalog.py
Expand Up @@ -309,7 +309,6 @@ def dochunk(s):

try:
Nlocal1, Wlocal1, W2local1 = dochunk(s)
chunksize = min(max_chunksize, int(chunksize * 1.5))
except StopIteration:
chunksize = chunksize // 2
if chunksize < 1:
Expand All @@ -330,6 +329,7 @@ def dochunk(s):
% (Nglobal, self.source.csize))

i = i + chunksize
chunksize = min(max_chunksize, int(chunksize * 1.5))

# now the loop over particles is done

Expand Down

0 comments on commit 37eceff

Please sign in to comment.