From f948ccda3ac6b856e8659d485083b3cf90ce1281 Mon Sep 17 00:00:00 2001 From: maartenkeijzer Date: Wed, 7 Sep 2005 17:09:19 +0000 Subject: [PATCH] eoRNG.h --- eo/src/utils/eoGnuplot.h | 6 +++--- eo/src/utils/eoRNG.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eo/src/utils/eoGnuplot.h b/eo/src/utils/eoGnuplot.h index 50e372b4..1d6d25ef 100644 --- a/eo/src/utils/eoGnuplot.h +++ b/eo/src/utils/eoGnuplot.h @@ -111,11 +111,11 @@ inline void eoGnuplot::initGnuPlot(std::string _title, std::string _extra) { #ifdef HAVE_SSTREAM std::ostringstream os; - os << "300x200-0+" << numWindow*220; + os << "250x150-0+" << numWindow*170; #else char snum[255]; std::ostrstream os(snum, 254); - os << "300x200-0+" << numWindow*220 << std::ends; + os << "250x150-0+" << numWindow*170 << std::ends; #endif numWindow++; @@ -154,7 +154,7 @@ inline void eoGnuplot::initGnuPlot(std::string _title, std::string _extra) * Created......: Mon Mar 13 13:50:11 1995 * Description..: Communication par pipe bidirectionnel avec un autre process * - * Ident........: $Id: eoGnuplot.h,v 1.11 2004-09-22 08:18:28 kuepper Exp $ + * Ident........: $Id: eoGnuplot.h,v 1.12 2005-09-07 17:09:19 maartenkeijzer Exp $ * ---------------------------------------------------------------------- */ diff --git a/eo/src/utils/eoRNG.h b/eo/src/utils/eoRNG.h index 867dc9df..7c2e5b2a 100644 --- a/eo/src/utils/eoRNG.h +++ b/eo/src/utils/eoRNG.h @@ -151,7 +151,7 @@ public : */ double uniform(double m = 1.0) { // random number between [0, m] - return m * double(rand()) / double(1.0+rand_max()); + return m * double(rand()) / double(rand_max()); } /**