We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f7f014 commit 7928edaCopy full SHA for 7928eda
utility/consistency/consistency_interface.py
@@ -74,6 +74,7 @@ def execute(block, config):
74
block[cosmo, "A_s"] = np.exp(block[cosmo, 'log1e10As']) * 1.0e-10
75
elif block.has_value(cosmo, "A_s_1e9"):
76
block[cosmo, "A_s"] = block[cosmo, "A_s_1e9"] * 1e-9
77
+ block[cosmo, "log1e10as"] = np.log(block[cosmo, "A_s_1e9"]*10.0)
78
79
# Set or replace the new values
80
for param, value in list(filled_parameters.items()):
@@ -95,7 +96,7 @@ def execute(block, config):
95
96
97
block[cosmo, "sigma_8"] = sigma_8
98
- # Add a marker to the consistency
99
+ # Add a marker to the consistency
100
block[cosmo, "consistency_module_was_used"] = True
101
102
return 0
0 commit comments