From 9576372b57aed906389445c6de222d6bdd151330 Mon Sep 17 00:00:00 2001 From: Arash Badie-Modiri Date: Sat, 9 Nov 2024 00:06:35 +0200 Subject: [PATCH] missed negative exponent... --- src/distributions.tpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distributions.tpp b/src/distributions.tpp index 81432b4..151ce4c 100644 --- a/src/distributions.tpp +++ b/src/distributions.tpp @@ -60,7 +60,7 @@ namespace reticula { return u*_mean; return _x_min * std::pow( - (1.0-u) * (_exponent-1.0), 1.0/(_exponent-2.0)); + (1.0-u) * (_exponent-1.0), -1.0/(_exponent-2.0)); } template