[compute] 44/46: Fix seed method call in linear_congruential_engine.hpp
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Dec 21 18:28:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository compute.
commit 39fa3634e142a95a842002da4c965ff1fc4141cf
Author: Jakub Szuppe <j.szuppe at gmail.com>
Date: Fri Dec 18 21:37:52 2015 +0100
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 ad89a95..6db718b 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).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git
More information about the debian-science-commits
mailing list