Skip to content
Snippets Groups Projects
Commit 032df039 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix some typos in pair checks

Completes d8025de1
parent d8025de1
No related branches found
No related tags found
1 merge request!343Subset sorting
...@@ -2100,7 +2100,7 @@ void DOSUB_PAIR1(struct runner *r, struct cell *ci, struct cell *cj, int sid, ...@@ -2100,7 +2100,7 @@ void DOSUB_PAIR1(struct runner *r, struct cell *ci, struct cell *cj, int sid,
2.f * kernel_gamma * space_stretch * (ci->h_max_old + ci->dx_max_old) < 2.f * kernel_gamma * space_stretch * (ci->h_max_old + ci->dx_max_old) <
ci->dmin && ci->dmin &&
2.f * kernel_gamma * space_stretch * (cj->h_max_old + cj->dx_max_old) < 2.f * kernel_gamma * space_stretch * (cj->h_max_old + cj->dx_max_old) <
ci->dmin) { cj->dmin) {
/* Different types of flags. */ /* Different types of flags. */
switch (sid) { switch (sid) {
...@@ -2399,7 +2399,7 @@ void DOSUB_PAIR2(struct runner *r, struct cell *ci, struct cell *cj, int sid, ...@@ -2399,7 +2399,7 @@ void DOSUB_PAIR2(struct runner *r, struct cell *ci, struct cell *cj, int sid,
2.f * kernel_gamma * space_stretch * (ci->h_max_old + ci->dx_max_old) < 2.f * kernel_gamma * space_stretch * (ci->h_max_old + ci->dx_max_old) <
ci->dmin && ci->dmin &&
2.f * kernel_gamma * space_stretch * (cj->h_max_old + cj->dx_max_old) < 2.f * kernel_gamma * space_stretch * (cj->h_max_old + cj->dx_max_old) <
ci->dmin) { cj->dmin) {
/* Different types of flags. */ /* Different types of flags. */
switch (sid) { switch (sid) {
...@@ -2710,7 +2710,7 @@ void DOSUB_SUBSET(struct runner *r, struct cell *ci, struct part *parts, ...@@ -2710,7 +2710,7 @@ void DOSUB_SUBSET(struct runner *r, struct cell *ci, struct part *parts,
2.f * kernel_gamma * space_stretch * (ci->h_max_old + ci->dx_max_old) < 2.f * kernel_gamma * space_stretch * (ci->h_max_old + ci->dx_max_old) <
ci->dmin && ci->dmin &&
2.f * kernel_gamma * space_stretch * (cj->h_max_old + cj->dx_max_old) < 2.f * kernel_gamma * space_stretch * (cj->h_max_old + cj->dx_max_old) <
ci->dmin) { cj->dmin) {
/* Get the type of pair if not specified explicitly. */ /* Get the type of pair if not specified explicitly. */
double shift[3] = {0.0, 0.0, 0.0}; double shift[3] = {0.0, 0.0, 0.0};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment