Skip to content

Commit

Permalink
Pass in x, y, z and dx
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed Mar 13, 2019
1 parent 2e83834 commit 06796ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yt/data_objects/octree_subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ def _fill_fields(self, fields):
data_in = {}
for f in fields:
data_in[f] = self._base_grid[f]
for f in ['x', 'y', 'z', 'dx']:
if f in fields:
continue
data_in[f] = self._base_grid[f]

data_out = self.oct_handler.get_hypercube(
self._base_grid, data_in
Expand Down

0 comments on commit 06796ec

Please sign in to comment.