diff --git a/include/openmc/distribution.h b/include/openmc/distribution.h index 28d9b9e810..e12a476ee2 100644 --- a/include/openmc/distribution.h +++ b/include/openmc/distribution.h @@ -21,7 +21,7 @@ namespace openmc { class Distribution { public: virtual ~Distribution() = default; - virtual double sample() const = 0; + virtual double sample(uint64_t * prn_seeds, int stream) const = 0; }; //============================================================================== diff --git a/include/openmc/random_lcg.h b/include/openmc/random_lcg.h index 5f0fea4944..a0daf803c2 100644 --- a/include/openmc/random_lcg.h +++ b/include/openmc/random_lcg.h @@ -10,7 +10,7 @@ namespace openmc { // Module constants. //============================================================================== -extern "C" const int N_STREAMS; +constexpr int N_STREAMS = 6; extern "C" const int STREAM_TRACKING; extern "C" const int STREAM_TALLIES; extern "C" const int STREAM_SOURCE;