aboutsummaryrefslogtreecommitdiffstats
path: root/mass_profile/calc_distance.cc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-06-07 23:02:41 +0800
committerAaron LI <aaronly.me@gmail.com>2016-06-07 23:02:41 +0800
commit695c64ecce86f764758ee0169348a06677267208 (patch)
tree983743cf978f750cc107481b3f16712bcb085d0f /mass_profile/calc_distance.cc
parent0288d17a5c503c6446cf6990067d298737f53c7a (diff)
downloadchandra-acis-analysis-695c64ecce86f764758ee0169348a06677267208.tar.bz2
calc_distance: fix some -Werror
Diffstat (limited to 'mass_profile/calc_distance.cc')
-rw-r--r--mass_profile/calc_distance.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/mass_profile/calc_distance.cc b/mass_profile/calc_distance.cc
index 1a637d3..91f2ea3 100644
--- a/mass_profile/calc_distance.cc
+++ b/mass_profile/calc_distance.cc
@@ -15,9 +15,9 @@ static double cm=1;
static double s=1;
static double km=1000*100;
static double Mpc=3.08568e+24*cm;
-static double kpc=3.08568e+21*cm;
-static double yr=365.*24.*3600.;
-static double Gyr=1e9*yr;
+//static double kpc=3.08568e+21*cm;
+//static double yr=365.*24.*3600.;
+//static double Gyr=1e9*yr;
static double H=71.*km/s/Mpc;
static const double c=299792458.*100.*cm;
//const double c=3e8*100*cm;