I'm using this package https://github.com/joshburkart/mathematica-mcmc and am trying to evaluate the following:
MCMC[(5 Log[ 1.015` NIntegrate[1.3636363636363636`*^26/Sqrt[
a + b (1 + z)], {z, 0, 0.015`}]])/ Log[10], {{a, .7, .01, Real}, {b, 0, .01, Real}}, 2]
and I get The integrand 1.36364*10^26/Sqrt[a+b (1+z)] has evaluated to non-numerical values for all sampling points in the region with boundaries {{0,0.015`}}. >>
In the end it does spit out a value for the parameters a and b. However because of that error message I'm not so confident that those are the right values. Can anyone tell how I can fix MCMC package so this error doesn't come up anymore when I have NIntegrate in my likelihood?