compile grains fails with illegal extrapolation slope
tests with the grain size distribution extended to 1 micron show that the compile grains code can fail with an error at r5877 of trunk and gcc 4.2.1. To reproduce use the slightly modified szd file and the compile grains file. The error is
Starting size bin 10, amin=0.70423 amax=1.00000 micron
absorption cs extrapolated below 9.9980e-06 Ryd
absorption cs extrapolated above 7.3311e+01 Ryd
scattering cs extrapolated below 9.9980e-06 Ryd
scattering cs extrapolated above 7.3311e+01 Ryd
Illegal value for slope in extrapolation 6.438356e-02
[Stop in mie_repair at ../grains_mie.cpp:2629, something went wrong]