From 7b8d3a07f040f3f11b6dedfaae1e62b7226e8a61 Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Thu, 27 Nov 2008 11:31:01 +0000 Subject: [PATCH] first fixes --- vcg/math/random_generator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/math/random_generator.h b/vcg/math/random_generator.h index 26af123c..ba8e1dd9 100644 --- a/vcg/math/random_generator.h +++ b/vcg/math/random_generator.h @@ -50,7 +50,7 @@ namespace vcg { * http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html * */ -class RandomGenerator : +class RandomGenerator { // definitions (used by the improved Marsenne-Twister algorithm) @@ -133,7 +133,7 @@ public: void initializeImprovedMarsenneTwister(unsigned long init_key[], int key_length) { int i, j, k; - seed(19650218UL); + initializeImprovedMarsenneTwister(19650218UL); i=1; j=0; k = (N>key_length ? N : key_length); for (; k; k--)