commit 2f885afb9b33e599d7dba869d28824302492c7c5
parent e860a7e620d19eab4ae419312f2dc0655511953b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 2 Dec 2020 15:43:13 +0100
Merge branch 'release_0.9' into develop
Diffstat:
3 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -34,6 +34,21 @@ variable to the directory that contains the `boost` include directory.
## Release notes
+### Version 0.9
+
+- Rewrite the caching mechanism used to register the RNG states provided by the
+ proxy to its managed generators. These states are no more saved in files that
+ continuously grow. The streams have now a limited size, and the states are
+ structured into them as in a FIFO circular queue. When a queue is full, the
+ RNG states are no more stored into it but will be generated by the associated
+ managed RNG.
+- Update the `ssp_rng_proxy_create2` function: input arguments are now provided
+ through a structured variable. Furthermore, its initial state can be
+ setup from an optionnal RNG.
+- Add the `ssp_ran_tetrahedron_uniform[_float]` random variates that uniformly
+ distributes a point into a tetrahedron.
+- Fix the read function of the KISS RNG: de-serialised data could be wrong.
+
### Version 0.8.1
- Fix a possible invalid memory read on proxy allocator clear.
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -74,8 +74,8 @@ rcmake_append_runtime_dirs(_runtime_dirs RSys ${Boost_LIBRARY_DIRS})
# Configure and define targets
################################################################################
set(VERSION_MAJOR 0)
-set(VERSION_MINOR 8)
-set(VERSION_PATCH 1)
+set(VERSION_MINOR 9)
+set(VERSION_PATCH 0)
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
set(SSP_FILES_SRC
diff --git a/src/ssp.h b/src/ssp.h
@@ -493,7 +493,7 @@ ssp_ran_triangle_uniform_float_pdf
/*******************************************************************************
* Tetrahedron distribution
******************************************************************************/
- /* Uniform sampling of a tetrahedron */
+/* Uniform sampling of a tetrahedron */
SSP_API double*
ssp_ran_tetrahedron_uniform
(struct ssp_rng* rng,