diff --git a/math/unuran/Module.mk b/math/unuran/Module.mk index 0650803a6da04c68412874325b447bbafc05a41d..11e0ca1613e08c5a9595c436aa8954e514058b41 100644 --- a/math/unuran/Module.mk +++ b/math/unuran/Module.mk @@ -12,7 +12,7 @@ UNURANDIR := $(MODDIR) UNURANDIRS := $(UNURANDIR)/src UNURANDIRI := $(UNURANDIR)/inc -UNRVERS := unuran-1.7.2-root +UNRVERS := unuran-1.8.devel-root UNRSRCS := $(MODDIRS)/$(UNRVERS).tar.gz UNRDIRS := $(MODDIRS)/$(UNRVERS) diff --git a/math/unuran/inc/TUnuran.h b/math/unuran/inc/TUnuran.h index 553d28c0f51871dfc687070a93e5c3fa1cd09ff2..03b6d085537e46647fbad29b9c45f62ecaf1e363 100644 --- a/math/unuran/inc/TUnuran.h +++ b/math/unuran/inc/TUnuran.h @@ -48,8 +48,8 @@ class TUnuranEmpDist; The sampling is provided via these methods: - TUnuran::Sample() returns a double for all one-dimensional distribution - TUnuran::SampleDiscr() returns an integer for one-dimensional discrete distribution - - TUnuran::Sample(double *) sample a multi-dimensional distribution. A pointer to a vector of - size as the distribution dimension must be passed + - TUnuran::Sample(double *) sample a multi-dimensional distribution. A pointer to a vector with + size at least equal to the distribution dimension must be passed In addition is possible to set the random number generator in the constructor of the class, its seed via the TUnuran::SetSeed() method. diff --git a/math/unuran/src/unuran-1.8.devel-root.tar.gz b/math/unuran/src/unuran-1.8.devel-root.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..af5b213f326dd777bc993feae61b20ac5cb2443a Binary files /dev/null and b/math/unuran/src/unuran-1.8.devel-root.tar.gz differ