Fix random::uniform_ball result type
This commit is contained in:
parent
0a0398807f
commit
3ce7f05adf
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ namespace psemek::random
|
|||
template <typename T, std::size_t N>
|
||||
struct uniform_ball_point_distribution
|
||||
{
|
||||
using result_type = geom::vector<T, N>;
|
||||
using result_type = geom::point<T, N>;
|
||||
|
||||
uniform_ball_point_distribution(result_type origin, T r = T{1})
|
||||
: origin_{origin}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue