mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Avoid warning message on clang
This commit is contained in:
parent
6d499fa0c0
commit
2e433653cc
1 changed files with 2 additions and 1 deletions
|
|
@ -224,7 +224,8 @@ SourceSite IndependentSource::sample(uint64_t* seed) const
|
|||
auto id = (domain_type_ == DomainType::CELL)
|
||||
? model::cells[coord.cell]->id_
|
||||
: model::universes[coord.universe]->id_;
|
||||
if (found = contains(domain_ids_, id)) break;
|
||||
if ((found = contains(domain_ids_, id)))
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue