Skip to content

Commit 8a43695

Browse files
Merge pull request #4686 from mabruzzo/cholla-bugfix
2 parents 9bd319d + 8a905e6 commit 8a43695

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

yt/frontends/cholla/data_structures.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def _parse_parameter_file(self):
103103
attrs = h5f.attrs
104104
self.parameters = dict(attrs.items())
105105
self.domain_left_edge = attrs["bounds"][:].astype("=f8")
106-
self.domain_right_edge = attrs["domain"][:].astype("=f8")
106+
self.domain_right_edge = self.domain_left_edge + attrs["domain"][:].astype(
107+
"=f8"
108+
)
107109
self.dimensionality = len(attrs["dims"][:])
108110
self.domain_dimensions = attrs["dims"][:].astype("=f8")
109111
self.current_time = attrs["t"][:]

0 commit comments

Comments
 (0)