Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtSimpleRandomEngine.hh
Show All 19 Lines | |||||
#ifndef EVTSIMPLERANDOMENGINE_HH | #ifndef EVTSIMPLERANDOMENGINE_HH | ||||
#define EVTSIMPLERANDOMENGINE_HH | #define EVTSIMPLERANDOMENGINE_HH | ||||
#include "EvtGenBase/EvtRandomEngine.hh" | #include "EvtGenBase/EvtRandomEngine.hh" | ||||
class EvtSimpleRandomEngine : public EvtRandomEngine { | class EvtSimpleRandomEngine : public EvtRandomEngine { | ||||
public: | public: | ||||
EvtSimpleRandomEngine() { _next = 1; } | EvtSimpleRandomEngine() { m_next = 1; } | ||||
void reset() { _next = 1; } | void reset() { m_next = 1; } | ||||
double random() override; | double random() override; | ||||
private: | private: | ||||
unsigned long int _next; | unsigned long int m_next; | ||||
abudinen: Would it make sense to use`size_t` here and in other modifications in this diff? | |||||
}; | }; | ||||
#endif | #endif |
Would it make sense to use`size_t` here and in other modifications in this diff?