change initialization of strengths

This commit is contained in:
Paul P.H. Wilson 2023-03-17 12:58:53 -05:00
parent 29b5748687
commit b20dda710b

View file

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