Skip to content

Commit

Permalink
fixing compilation error when searching in map
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Sep 21, 2024
1 parent 9d55c28 commit 416e794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dagmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void DAGUniverse::init_geometry()
if (uses_uwuw()) {
uwuw_assign_material(vol_handle, c);
} else {
if (contains(instance_material_overrides, mat_str)) {
if (instance_material_overrides.count(mat_str)) {

for (auto mat_str_instance :
instance_material_overrides.at(mat_str)) {
Expand Down

0 comments on commit 416e794

Please sign in to comment.