From 3ce7f05adf4ae82fe3ea5f792292330cca59f739 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Thu, 10 Dec 2020 10:38:42 +0300 Subject: [PATCH] Fix random::uniform_ball result type --- libs/random/include/psemek/random/uniform_ball.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/random/include/psemek/random/uniform_ball.hpp b/libs/random/include/psemek/random/uniform_ball.hpp index 9cc1a485..c2a3f65c 100644 --- a/libs/random/include/psemek/random/uniform_ball.hpp +++ b/libs/random/include/psemek/random/uniform_ball.hpp @@ -34,7 +34,7 @@ namespace psemek::random template struct uniform_ball_point_distribution { - using result_type = geom::vector; + using result_type = geom::point; uniform_ball_point_distribution(result_type origin, T r = T{1}) : origin_{origin}