mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
change initialization of strengths
This commit is contained in:
parent
29b5748687
commit
b20dda710b
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ MeshSpatial::MeshSpatial(pugi::xml_node node)
|
|||
}
|
||||
|
||||
int32_t n_bins = this->n_sources();
|
||||
std::vector<double> strengths(n_bins, 0.0);
|
||||
std::vector<double> strengths(n_bins, 1.0);
|
||||
|
||||
// Create cdfs for sampling for an element over a mesh
|
||||
// Volume scheme is weighted by the volume of each tet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue