initialize radom number generator

This commit is contained in:
Krishna Vedala
2020-06-03 23:03:25 -04:00
parent 6c085a1649
commit 503593e68e

View File

@@ -413,6 +413,8 @@ int main(int argc, char **argv) {
std::cout << "NOT using OpenMP based parallelization\n";
#endif
std::srand(std::time(nullptr));
std::clock_t start_clk = std::clock();
test1();
auto end_clk = std::clock();