Skip to content

Commit

Permalink
fix Gpc value
Browse files Browse the repository at this point in the history
  • Loading branch information
astrobit committed May 20, 2020
1 parent a797e33 commit 1a6162e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Release version
m4_define([package_version_major],[1])
m4_define([package_version_minor],[9])
m4_define([package_version_micro],[0])
m4_define([package_version_micro],[1])

# API version
m4_define([api_version],package_version_major)
Expand Down
2 changes: 1 addition & 1 deletion xastro/src/XAstro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ XASTRO_CONSTS::XASTRO_CONSTS(void)

k_dpc_cm = k_dAU_cm * 648000.0 / k_dpi; // 1 pc in cm
k_dMpc_cm = k_dpc_cm * 1.0e6; // 1 Mpc in cm
k_dGpc_cm = k_dpc_cm * 1.0e12; // 1 Gpc in cm
k_dGpc_cm = k_dpc_cm * 1.0e9; // 1 Gpc in cm
k_dH0std = 100.0e5 / (k_dMpc_cm); // s^{-1} h

k_derg_eV = k_dQe * 1e7;//1. / k_deV_erg;
Expand Down

0 comments on commit 1a6162e

Please sign in to comment.