Skip to content
Snippets Groups Projects
Commit 4e5cf5e2 authored by Markus Blatt's avatar Markus Blatt
Browse files

time is not known by pgi

[[Imported from SVN: r4567]]
parent 9880007d
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ template<class T, int size>
void randomizeList(Dune::ArrayList<T,size>& alist){
using namespace Dune;
srand((unsigned)time(0));
srand(300);
int lowest=0, highest=1000, range=(highest-lowest)+1;
......
......@@ -6,7 +6,7 @@
#include <algorithm>
void randomize(TestContainer<double>& cont){
srand((unsigned)time(0));
srand(300);
double size=1000;
for(int i=0; i < 100; i++) {
......
......@@ -50,7 +50,7 @@ int testBidirectionalIterator(Iter begin, Iter end, Opt opt)
opt(*tend);
typename Iter::difference_type size = std::distance(begin, end);
srand((unsigned)time(0));
srand(300);
int no= (size>10) ? 10 : size;
......@@ -79,7 +79,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){
typename Iter::difference_type size = end-begin;
srand((unsigned)time(0));
srand(300);
int no= (size>10) ? 10 : size;
......
......@@ -90,7 +90,7 @@ template<typename T,class A>
void randomizeListBack(Dune::SLList<T,A>& alist){
using namespace Dune;
srand((unsigned)time(0));
srand(300);
int lowest=0, highest=1000, range=(highest-lowest)+1;
......@@ -109,7 +109,7 @@ template<typename T,class A>
void randomizeListFront(Dune::SLList<T,A>& alist){
using namespace Dune;
srand((unsigned)time(0));
srand(300);
T vals[10];
int lowest=0, highest=1000, range=(highest-lowest)+1;
......
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