changed N_STREAMS to const defined in header rather than random_lcg.cpp

This commit is contained in:
John Tramm 2019-11-21 23:28:15 +00:00
parent 642c3a8ac7
commit 674585c8fe
2 changed files with 2 additions and 2 deletions

View file

@ -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;
};
//==============================================================================

View file

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