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/mole_solve.cpp

    r2076 r2096  
    279279                findspecies("H2*")->den = 0.; 
    280280 
    281                 hmi.H2_total = findspecies("H2")->den + findspecies("H2*")->den; 
     281                hmi.H2_total = (realnum)(findspecies("H2")->den + findspecies("H2*")->den); 
    282282                /* first guess at ortho and para densities */ 
    283283                h2.ortho_density = 0.75*hmi.H2_total;