Skip to content

Commit

Permalink
Merge pull request #21 from jvachier/jv/corrections
Browse files Browse the repository at this point in the history
Corrections.
  • Loading branch information
jvachier authored Jun 1, 2024
2 parents 4c4d911 + 35a8ac2 commit e8caab1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/headers/check_nooverlap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> distribution);
std::default_random_engine *generator,
std::uniform_real_distribution<double> *distribution);
6 changes: 3 additions & 3 deletions src/headers/initialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> distribution,
std::uniform_real_distribution<double> distribution_e);
std::default_random_engine *generator,
std::uniform_real_distribution<double> *distribution,
std::uniform_real_distribution<double> *distribution_e);
6 changes: 3 additions & 3 deletions src/headers/update_position.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> Gaussdistribution,
std::uniform_real_distribution<double> distribution_e);
std::default_random_engine *generator,
std::normal_distribution<double> *Gaussdistribution,
std::uniform_real_distribution<double> *distribution_e);

0 comments on commit e8caab1

Please sign in to comment.