joezuntz / pycamb

Python bindings for the Code for Anisotropies in the Microwave Background (CAMB)
8 stars 9 forks source link

a few quite big fixes. #2

Closed rainwoodman closed 11 years ago

rainwoodman commented 12 years ago

1 trap fortran stops on major compilers. so ipython won't crash when you do pycamb.camb(10). ifort and gfortran shall be both traped.

2 properly install / locate the template file for non lensed CL(what does it do anyways?) previously that file has to be in current directory. now you don't have to worry about it at all. It is copied to the package directory and the path is set in init.py . A new function is added to the generated f90 wrapper.

joezuntz commented 11 years ago

Many thanks for this contribution - I totally forgot about it last year!