Commit ff16e1b9 authored by jclamber's avatar jclamber
Browse files

fix bug

git-svn-id: http://svn.oamp.fr/repos/uns_projects/trunk@107 f264a43e-d52d-4b82-913b-c2bd5215a18a
parent 5bd8ffc9
......@@ -205,7 +205,11 @@ void CRectify::processRho()
vvel.push_back(vel[sindex*3+2]);
}
vmass.push_back(mass[sindex]);
vrho.push_back(rho[sindex]);
if (rho) {
vrho.push_back(rho[sindex]);
} else {
vrho.push_back(density->getRho()[sindex]);
}
ii++;
}
......
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