From 866b09992668f97af063dcd77dc5dd0e3a512b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 24 Mar 2016 00:11:28 +0100 Subject: New Random class for convenient random number generation. --- src/powerlist.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/powerlist.h') diff --git a/src/powerlist.h b/src/powerlist.h index 43f51d2..1077d8c 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -30,6 +30,7 @@ #include #include "sample.h" +#include "random.h" class PowerList { public: @@ -47,6 +48,8 @@ private: float power; }; + Random rand; + std::vector samples; float power_max; float power_min; -- cgit v1.2.3