Skip to content

Commit

Permalink
Fix not defined log10_A in red_noise_block
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaasteren committed Jun 6, 2024
1 parent 19be5e9 commit a4a3e0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enterprise_extensions/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ def red_noise_block(
log10_A = parameter.LinearExp(-20, -11)
elif prior == "log-uniform" and gamma_val is not None:
log10_A = parameter.Uniform(-20, -11)
else:
log10_A = parameter.Uniform(-20, -11)

if gamma_val is not None:
gamma = parameter.Constant(gamma_val)
Expand Down

0 comments on commit a4a3e0d

Please sign in to comment.