Skip to content
Snippets Groups Projects
Commit e5c6fb65 authored by Volker Springel's avatar Volker Springel
Browse files

minor fix

parent d18005ca
No related branches found
No related tags found
No related merge requests found
...@@ -524,7 +524,7 @@ void fof<partset>::subfind_density_hsml_guess(void) /* set the initial guess for ...@@ -524,7 +524,7 @@ void fof<partset>::subfind_density_hsml_guess(void) /* set the initial guess for
if(hsml_prev) if(hsml_prev)
Tp->PS[i].v.DM_Hsml = hsml_prev; Tp->PS[i].v.DM_Hsml = hsml_prev;
else else
Tp->PS[i].v.DM_Hsml = All.SofteningTable[Tp->P[i].getType()]; Tp->PS[i].v.DM_Hsml = All.SofteningTable[All.SofteningClassOfPartType[Tp->P[i].getType()]];
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment