From 5b9debe542d2bd36be5ad6630aff51bedf9da1b7 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 18 Jul 2019 22:23:03 -0500 Subject: [PATCH] Update src/geometry.cpp Co-Authored-By: Paul Romano --- src/geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometry.cpp b/src/geometry.cpp index b699f2268..cc67741fd 100644 --- a/src/geometry.cpp +++ b/src/geometry.cpp @@ -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;