diff options
author | Mike Buland <mike@xagasoft.com> | 2012-07-09 14:01:28 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2012-07-09 14:01:28 -0600 |
commit | c989db816497efd6ef1f36bfb8979de60248b435 (patch) | |
tree | c0293694dfcb83d7300511dd78cd6df39a50bd7f | |
parent | 673252f7eadc3aa0cfae3d826e1c7bbe2400df17 (diff) | |
download | libneural-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.cpp | 2 |
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> |
10 | using namespace Bu; | 11 | using namespace Bu; |
11 | 12 | ||
@@ -15,6 +16,7 @@ using namespace Bu; | |||
15 | 16 | ||
16 | int main( int argc, char *argv[] ) | 17 | int 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>(); |