Avoid warning message on clang

This commit is contained in:
Paul Romano 2022-10-19 09:42:16 -05:00
parent 6d499fa0c0
commit 2e433653cc

View file

@ -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;
}
}
}