mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
more pointer->instance repair
This commit is contained in:
parent
df4cfad60c
commit
c272ed4c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ MeshSpatial::MeshSpatial(pugi::xml_node node)
|
|||
Position MeshSpatial::sample(uint64_t* seed) const
|
||||
{
|
||||
// Sample over the CDF defined in initialization above
|
||||
int32_t elem_idx = elem_idx_dist_->sample(seed);
|
||||
int32_t elem_idx = elem_idx_dist_.sample(seed);
|
||||
return mesh()->sample(seed, elem_idx);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue