embarassing bugfix
authorYangqing Jia <jiayq84@gmail.com>
Wed, 18 Sep 2013 00:38:16 +0000 (17:38 -0700)
committerYangqing Jia <jiayq84@gmail.com>
Wed, 18 Sep 2013 00:38:16 +0000 (17:38 -0700)
src/caffeine/common.cpp

index c681415933bda15660c7acdbbc8a39e6e0770d6c..2466df4e3d3e27a6f54e3a6f10787fcc4222add4 100644 (file)
@@ -9,7 +9,7 @@ Caffeine::Caffeine()
   CUBLAS_CHECK(cublasCreate(&cublas_handle_));
   CURAND_CHECK(curandCreateGenerator(&curand_generator_,
       CURAND_RNG_PSEUDO_DEFAULT));
-  CURAND_CHECK(curandSetPseudoRandomGeneratorSeed(curand_generator(),
+  CURAND_CHECK(curandSetPseudoRandomGeneratorSeed(curand_generator_,
       1701ULL));
   VSL_CHECK(vslNewStream(&vsl_stream_, VSL_BRNG_MT19937, 1701));
 }