Restoring initial universe bounding box.

This commit is contained in:
Patrick Shriwise 2019-07-18 14:49:45 -05:00
parent 81bf0a67da
commit c1d8f06ac1

View file

@ -207,7 +207,7 @@ Universe::to_hdf5(hid_t universes_group) const
}
BoundingBox Universe::bounding_box() const {
BoundingBox bbox;
BoundingBox bbox = {INFTY, -INFTY, INFTY, -INFTY, INFTY, -INFTY};
if (cells_.size() == 0) {
return {};
} else {