Skip to content

Commit

Permalink
Fix PSE incorrect result bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hjabird committed Aug 1, 2019
1 parent 3f97288 commit a464650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/P2D.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ CVTX_EXPORT float cvtx_P2D_S2S_visc_dvort(
t211 = self->vorticity * induced_particle->area;
t212 = -induced_particle->vorticity * self->area;
t21 = t211 + t212;
t22 = kernel->eta_3D(rho);
t22 = kernel->eta_2D(rho);
t2 = t21* t22;
ret = t2 * t1;
}
Expand Down

0 comments on commit a464650

Please sign in to comment.