Skip to content
Snippets Groups Projects
Commit 796681e4 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

Let matrix entries be between -50 and 49, instead of between 0 and RAND_MAX

[[Imported from SVN: r8560]]
parent 72b527ac
No related branches found
No related tags found
No related merge requests found
...@@ -242,7 +242,7 @@ public: ...@@ -242,7 +242,7 @@ public:
for (int i=0; i<nTestPoints; i++) for (int i=0; i<nTestPoints; i++)
for (int j=0; j<N; j++) for (int j=0; j<N; j++)
for (int k=0; k<N; k++) for (int k=0; k<N; k++)
values[i][j][k] = std::rand(); values[i][j][k] = std::rand()%100 - 50;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment