Skip to content

Commit

Permalink
Merge pull request #34 from itischler/4.0.2
Browse files Browse the repository at this point in the history
fixed compile errors
  • Loading branch information
RudolfWeeber authored Apr 11, 2019
2 parents 84952c3 + 4047f5f commit a3d4fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/electrokinetics_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3728,7 +3728,7 @@ int ek_set_ext_force_density(int species, double ext_force_density_x,

#ifdef EK_ELECTROSTATIC_COUPLING
struct ek_charge_of_particle {
__device__ ekfloat operator()(CUDA_particle_data particle) {
__host__ __device__ ekfloat operator()(CUDA_particle_data particle) {
return particle.q;
};
};
Expand Down
2 changes: 1 addition & 1 deletion src/core/lbgpu_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -4476,7 +4476,7 @@ void lb_gpu_get_boundary_forces(double *forces) {
}

struct lb_lbfluid_mass_of_particle {
__device__ float operator()(CUDA_particle_data particle) const {
__host__ __device__ float operator()(CUDA_particle_data particle) const {
#ifdef MASS
return particle.mass;
#else
Expand Down

0 comments on commit a3d4fc5

Please sign in to comment.