Commit ad5aa875 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

fix missing sid.



Former-commit-id: c98b7798d8be5cc3e31e69b1e9ca67ff18cf4c32
parent 2f450280
......@@ -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 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment