From 39fa3634e142a95a842002da4c965ff1fc4141cf Mon Sep 17 00:00:00 2001 From: Jakub Szuppe Date: Fri, 18 Dec 2015 21:37:52 +0100 Subject: [PATCH] Fix seed method call in linear_congruential_engine.hpp There is no seed method with just one parameter of type result_type. --- include/boost/compute/random/linear_congruential_engine.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/compute/random/linear_congruential_engine.hpp b/include/boost/compute/random/linear_congruential_engine.hpp index ad89a956..6db718b6 100644 --- a/include/boost/compute/random/linear_congruential_engine.hpp +++ b/include/boost/compute/random/linear_congruential_engine.hpp @@ -102,7 +102,7 @@ public: /// \overload void seed(command_queue &queue) { - seed(default_seed); + seed(default_seed, queue); } /// Generates random numbers and stores them to the range [\p first, \p last).