mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
moved alias method to function and fixed sampling bug
This commit is contained in:
parent
907cf7df4d
commit
90509d928b
2 changed files with 14 additions and 5 deletions
|
|
@ -58,6 +58,9 @@ private:
|
|||
|
||||
//! Normalize distribution so that probabilities sum to unity
|
||||
void normalize();
|
||||
|
||||
//! Initialize alias tables for distribution
|
||||
void init_alias();
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue