From 5faa8d6aa35f3a5554c17f01bf146611dc33dd9f Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <pedro.gonnet@durham.ac.uk> Date: Sat, 13 Apr 2013 17:43:33 +0000 Subject: [PATCH] use same splitting criteria in subs as in space. Former-commit-id: 8917b8367670d9393786a71d1d19108a8b3e2b1c --- src/runner_doiact.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runner_doiact.h b/src/runner_doiact.h index 9acf0c8004..7001477d52 100644 --- a/src/runner_doiact.h +++ b/src/runner_doiact.h @@ -1613,7 +1613,7 @@ void DOSUB1 ( struct runner *r , struct cell *ci , struct cell *cj , int sid ) { /* Recurse? */ if ( ci->split && cj->split && - ci->h_max*2 < h && cj->h_max*2 < h ) { + ci->h2dx_max*2 < h && cj->h2dx_max*2 < h ) { /* Different types of flags. */ switch ( sid ) { @@ -1893,7 +1893,7 @@ void DOSUB2 ( struct runner *r , struct cell *ci , struct cell *cj , int sid ) { /* Recurse? */ if ( ci->split && cj->split && - ci->h_max*2 < h && cj->h_max*2 < h ) { + ci->h2dx_max*2 < h && cj->h2dx_max*2 < h ) { /* Different types of flags. */ switch ( sid ) { @@ -2175,7 +2175,7 @@ void DOSUB_SUBSET ( struct runner *r , struct cell *restrict ci , struct part *p /* Recurse? */ if ( ci->split && cj->split && - ci->h_max*2 < h && cj->h_max*2 < h ) { + ci->h2dx_max*2 < h && cj->h2dx_max*2 < h ) { /* Get the type of pair if not specified explicitly. */ if ( sid < 0 ) { -- GitLab