Add empty string default argument for external DAGMC Universe constructor

This commit is contained in:
helen-brooks 2022-05-25 10:47:37 +01:00
parent d9498216dd
commit 8bf7de39ca
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ public:
//! Alternative DAGMC universe constructor for external DAGMC instance
explicit DAGUniverse(std::shared_ptr<moab::DagMC> external_dagmc_ptr,
const std::string& filename, bool auto_geom_ids = false,
const std::string& filename = "", bool auto_geom_ids = false,
bool auto_mat_ids = false);
//! Initialize the DAGMC accel. data structures, indices, material

View file

@ -50,7 +50,7 @@ int main(int argc, char* argv[])
// Create new DAGMC universe
openmc::model::universes.push_back(
std::make_unique<openmc::DAGUniverse>(dag_ptr, ""));
std::make_unique<openmc::DAGUniverse>(dag_ptr));
model::universe_map[model::universes.back()->id_] =
model::universes.size() - 1;