Show
Ignore:
Timestamp:
05/30/08 07:04:12 (7 months ago)
Author:
gary
Message:

add explicit casts to (realnum) to silence warnings in vs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newmole/source/radius_increment.cpp

    r2089 r2096  
    105105                                         * change is to only do this branch if abundance is large enough to be detected by 
    106106                                         * the ionization convergence solvers */ 
    107                                         const realnum err_tol = 1e-2; 
     107                                        const realnum err_tol = 1e-2f; 
    108108                                        /* >>chng 05 sep 02, when low-T solver used solution is approximate, 
    109109                                         * and it must not matter (lot-T solver should not be used if it 
     
    114114                                        for (long n=0; n<iso.numLevels_local[ipISO][nelem]; ++n) 
    115115                                        { 
    116                                                 abund += StatesElem[ipISO][nelem][n].Pop; 
     116                                                abund += (realnum)StatesElem[ipISO][nelem][n].Pop; 
    117117                                        } 
    118118                                        //fprintf(ioQQQ,"%.2f %ld %ld %11.4g %11.4g\n",fnzone,ipISO,nelem,