@@ -27,6 +27,7 @@ module BaseParameters
27
27
logical :: use_fast_slow = .false.
28
28
integer :: num_fast, num_slow
29
29
integer :: num_semi_fast, num_semi_slow
30
+ logical :: include_fixed_parameter_priors = .false.
30
31
real (mcp), allocatable :: PMin(:), PMax(:), StartWidth(:), PWidth(:), center(:)
31
32
logical (mcp), allocatable :: varying(:)
32
33
logical :: block_semi_fast = .true.
@@ -166,11 +167,12 @@ subroutine TBaseParameters_ReadPriors(this,Ini)
166
167
Type (TSettingIni) :: Combs
167
168
integer params(num_params), num_lin
168
169
170
+ call Ini% Read (' include_fixed_parameter_priors' ,this% include_fixed_parameter_priors)
169
171
allocate (this% GaussPriors% std(num_params))
170
172
allocate (this% GaussPriors% mean(num_params))
171
173
this% GaussPriors% std= 0 ! no priors by default
172
174
do i= 1 ,num_params
173
- if (this% varying(i)) then
175
+ if (this% varying(i) .or. this % include_fixed_parameter_priors ) then
174
176
InLine = this% NameMapping% ReadIniForParam(Ini,' prior' ,i)
175
177
if (InLine/= ' ' ) then
176
178
read (InLine, * , iostat= status) this% GaussPriors% mean(i), this% GaussPriors% std(i)
0 commit comments