Update src/geometry.cpp

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Patrick Shriwise 2019-07-18 22:23:03 -05:00 committed by GitHub
parent 933a5c4770
commit 5b9debe542
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -519,7 +519,7 @@ openmc_bounding_box(const char* geom_type, const int32_t id, double* llc, double
}
extern "C" int openmc_global_bounding_box(double* llc, double* urc) {
auto bbox = model::universes[model::root_universe]->bounding_box();
auto bbox = model::universes.at(model::root_universe)->bounding_box();
// set lower left corner values
llc[0] = bbox.xmin;