From 35a8ac23484e96425a32f22b4a02d8f13657f6aa Mon Sep 17 00:00:00 2001 From: Jeremy Vachier <89128100+jvachier@users.noreply.github.com> Date: Sat, 1 Jun 2024 17:27:49 +0200 Subject: [PATCH] Missing *. --- src/headers/check_nooverlap.h | 4 ++-- src/headers/initialization.h | 6 +++--- src/headers/update_position.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/headers/check_nooverlap.h b/src/headers/check_nooverlap.h index 38d1acf..f17c8ce 100644 --- a/src/headers/check_nooverlap.h +++ b/src/headers/check_nooverlap.h @@ -9,5 +9,5 @@ void check_nooverlap( double *x, double *y, double *z, int Particles, int L, - std::default_random_engine generator, - std::uniform_real_distribution distribution); + std::default_random_engine *generator, + std::uniform_real_distribution *distribution); diff --git a/src/headers/initialization.h b/src/headers/initialization.h index 5f4d558..33bf689 100644 --- a/src/headers/initialization.h +++ b/src/headers/initialization.h @@ -11,6 +11,6 @@ void initialization( double *x, double *y, double *z, double *ex, double *ey, double *ez, int Particles, - std::default_random_engine generator, - std::uniform_real_distribution distribution, - std::uniform_real_distribution distribution_e); + std::default_random_engine *generator, + std::uniform_real_distribution *distribution, + std::uniform_real_distribution *distribution_e); diff --git a/src/headers/update_position.h b/src/headers/update_position.h index aaf035b..bad2920 100644 --- a/src/headers/update_position.h +++ b/src/headers/update_position.h @@ -15,6 +15,6 @@ void update_position( double xi_py, double xi_pz, double vs, double prefactor_xi_px, double prefactor_xi_py, double prefactor_xi_pz, double r, double prefactor_interaction, - std::default_random_engine generator, - std::normal_distribution Gaussdistribution, - std::uniform_real_distribution distribution_e); + std::default_random_engine *generator, + std::normal_distribution *Gaussdistribution, + std::uniform_real_distribution *distribution_e);