star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit 7adac1eba5298522daa9dec4bef3b821a0f56dc2
parent c4f387ffe8e4b6b93459ddca2f305446ba3dc33a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  2 Apr 2015 10:44:28 +0200

Fix a warning in release and minor fix of the CMake file

Diffstat:
Mcmake/CMakeLists.txt | 2+-
Msrc/ssp_rng.c | 2--
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -44,7 +44,7 @@ find_package(RSys 0.1.1 REQUIRED) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${RCMAKE_SOURCE_DIR}) include(rcmake) -include_directories(${Embree_INCLUDE_DIR} ${RSys_INCLUDE_DIR}) +include_directories(${RSys_INCLUDE_DIR}) ################################################################################ # Configure and define targets diff --git a/src/ssp_rng.c b/src/ssp_rng.c @@ -81,8 +81,6 @@ rng_kiss_get(void* data) static double rng_kiss_get_canonical(void* data) { - struct rng_kiss* kiss = (struct rng_kiss*)data; - ASSERT(kiss); return (double)rng_kiss_get(data) / ((double)UINT32_MAX + 1); }