diff --git a/main.cpp b/main.cpp
index 5ca0056fb98a0cab6b7ca227d6ac0cfcb14d2841..f99efdf2f2e2255503bd58612821bdab5c4ff559 100644
--- a/main.cpp
+++ b/main.cpp
@@ -72,11 +72,9 @@ cl_ulong getElapsedTime(const cl::Event& event) {
 }
 
 std::vector<float> fill_random(int rows, int cols) {
-    std::mt19937 gen(42);
-    std::uniform_real_distribution<float> dist(-1.0f, 1.0f);
-    std::vector<float> data(rows*cols);
-    for (int i = 0; i < rows * cols; ++i) {
-        data[i] = dist(gen);
+    std::vector<float> data(rows * cols);
+    for (auto& val : data) {
+        val = static_cast<float>(rand()) / RAND_MAX;
     }
     return data;
 }