summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2012-07-09 14:01:28 -0600
committerMike Buland <mike@xagasoft.com>2012-07-09 14:01:28 -0600
commitc989db816497efd6ef1f36bfb8979de60248b435 (patch)
treec0293694dfcb83d7300511dd78cd6df39a50bd7f /src
parent673252f7eadc3aa0cfae3d826e1c7bbe2400df17 (diff)
downloadlibneural-c989db816497efd6ef1f36bfb8979de60248b435.tar.gz
libneural-c989db816497efd6ef1f36bfb8979de60248b435.tar.bz2
libneural-c989db816497efd6ef1f36bfb8979de60248b435.tar.xz
libneural-c989db816497efd6ef1f36bfb8979de60248b435.zip
Switched generators.
Diffstat (limited to '')
-rw-r--r--src/tests/pic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/pic.cpp b/src/tests/pic.cpp
index 4f4139f..32a7787 100644
--- a/src/tests/pic.cpp
+++ b/src/tests/pic.cpp
@@ -6,6 +6,7 @@
6#include <time.h> 6#include <time.h>
7 7
8#include <bu/random.h> 8#include <bu/random.h>
9#include <bu/randomcmwc.h>
9#include <bu/sio.h> 10#include <bu/sio.h>
10using namespace Bu; 11using namespace Bu;
11 12
@@ -15,6 +16,7 @@ using namespace Bu;
15 16
16int main( int argc, char *argv[] ) 17int main( int argc, char *argv[] )
17{ 18{
19 Bu::Random::setGenerator<Bu::RandomCmwc>();
18 Bu::Random::seed( time( NULL ) ); 20 Bu::Random::seed( time( NULL ) );
19 21
20 Neural::Column<float> *c = new Neural::Column<float>(); 22 Neural::Column<float> *c = new Neural::Column<float>();