From 796681e46e836ecce8422c3b07b51e2ad92db11c Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 8 Mar 2012 11:28:13 +0000 Subject: [PATCH] Let matrix entries be between -50 and 49, instead of between 0 and RAND_MAX [[Imported from SVN: r8560]] --- test/valuefactory.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/valuefactory.hh b/test/valuefactory.hh index 8406c18e..ecb16e89 100644 --- a/test/valuefactory.hh +++ b/test/valuefactory.hh @@ -242,7 +242,7 @@ public: for (int i=0; i<nTestPoints; i++) for (int j=0; j<N; j++) for (int k=0; k<N; k++) - values[i][j][k] = std::rand(); + values[i][j][k] = std::rand()%100 - 50; } -- GitLab