From ad5aa8757f48bf87c3d1548ae16749b5c62c63ff Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <pedro.gonnet@durham.ac.uk> Date: Thu, 14 Nov 2013 23:30:09 +0000 Subject: [PATCH] fix missing sid. Former-commit-id: c98b7798d8be5cc3e31e69b1e9ca67ff18cf4c32 --- 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 1fd0492803..54532b741a 100644 --- a/src/runner_doiact.h +++ b/src/runner_doiact.h @@ -2293,13 +2293,13 @@ void DOSUB_SUBSET ( struct runner *r , struct cell *ci , struct part *parts , in /* Get the cell dimensions. */ h = fmin( ci->h[0] , fmin( ci->h[1] , ci->h[2] ) ); + /* Get the type of pair if not specified explicitly. */ + sid = space_getsid( s , &ci , &cj , shift ); + /* Recurse? */ if ( ci->split && cj->split && fmaxf( ci->h_max , cj->h_max )*kernel_gamma + ci->dx_max + cj->dx_max < h/2 ) { - /* Get the type of pair if not specified explicitly. */ - sid = space_getsid( s , &ci , &cj , shift ); - /* Different types of flags. */ switch ( sid ) { -- GitLab