Cosmomc/CAMB: omtau in equations.f90
Posted: November 04 2004
I just downloaded Cosmomc, and compiled it. It worked straight out of the box, but with one warning:
f90: Warning: equations.f90, line 1081: Variable OMTAU is used before its value has been defined
a = tau*adotrad*(1+omtau/4)
I guess it won't matter much, since it still is there in the code after a lot of people have used the program, but it would be nice to get a confirmation in any case.
Also, does anybody know if there is a performance cost for using implicit type conversions like the ones above, rather than doing something like the following:
a = tau*adotrad*(1.+omtau/4.) ?
Perhaps most compilers fix this at compile time?
Hans Kristian Eriksen
f90: Warning: equations.f90, line 1081: Variable OMTAU is used before its value has been defined
a = tau*adotrad*(1+omtau/4)
I guess it won't matter much, since it still is there in the code after a lot of people have used the program, but it would be nice to get a confirmation in any case.
Also, does anybody know if there is a performance cost for using implicit type conversions like the ones above, rather than doing something like the following:
a = tau*adotrad*(1.+omtau/4.) ?
Perhaps most compilers fix this at compile time?
Hans Kristian Eriksen