Fixed issue with discrepancy in indexing of y-dimension in lattice universes and offsets

This commit is contained in:
wbinventor@gmail.com 2016-02-01 19:24:43 -05:00
parent 3df9f3937b
commit e413bf30e5

View file

@ -369,7 +369,7 @@ class Summary(object):
# Set the distribcell offsets for the lattice
if offsets is not None:
lattice.offsets = offsets
lattice.offsets = offsets[:, ::-1, :]
# Add the Lattice to the global dictionary of all Lattices
self.lattices[index] = lattice