Commit e5c6fb65 authored by Volker Springel's avatar Volker Springel
Browse files

minor fix

parent d18005ca
......@@ -524,7 +524,7 @@ void fof<partset>::subfind_density_hsml_guess(void) /* set the initial guess for
if(hsml_prev)
Tp->PS[i].v.DM_Hsml = hsml_prev;
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()]];
}
}
}
......
Markdown is supported
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