mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Added a missing division by E(z) for the line of sight velocity
This commit is contained in:
parent
cd2bef15b3
commit
46b9d3ec40
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void metricTransform(SimuData *data, int axis, bool reshift, bool pecvel, double
|
||||||
expfact[i] = z / z_old;
|
expfact[i] = z / z_old;
|
||||||
// Add peculiar velocity
|
// Add peculiar velocity
|
||||||
if (pecvel)
|
if (pecvel)
|
||||||
z += v/100;
|
z += v/(100*e_computer(z0));
|
||||||
}
|
}
|
||||||
catch(const InvalidRangeException& e) {
|
catch(const InvalidRangeException& e) {
|
||||||
cout << "Trying to interpolate out of the tabulated range." << endl;
|
cout << "Trying to interpolate out of the tabulated range." << endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue