Changeset 715


Ignore:
Timestamp:
Dec 11, 2008 10:54:38 PM (11 years ago)
Author:
dubbs
Message:

Fix Win32 problems

Location:
trunk/develop
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/develop/include/us_hydrodyn_grid_atob.h

    r677 r715  
    1515#include <stdlib.h>
    1616#include <ctype.h>
    17 #include <values.h>
     17//#include <values.h>
     18#include <list> 
    1819
    1920typedef float REAL;
  • trunk/develop/src/us_hydrodyn_grid_atob.cpp

    r689 r715  
    249249  for (j = 0; j < npoints; j++)
    250250      for (k = 0; k < npoints; k++)
    251     ro[i][j][k] = pow(ro[i][j][k], 0.333333);
     251    ro[i][j][k] = pow((double)ro[i][j][k], 0.333333);
    252252
    253253#if defined(DEBUG)
     
    512512    else
    513513    {
    514   epsilon = EXPANSION_COEF;
     514  epsilon = (float)EXPANSION_COEF;
    515515    }
    516516    /*max box size is slightly (EXP_COEF*100 %) bigger than particle! */
     
    528528
    529529
    530     nprop.resize((int) pow(npoints, 3));
     530    nprop.resize((int) pow((double)npoints, 3));
    531531#if defined(DEBUG)
    532532    puts("grid_atob 4");
Note: See TracChangeset for help on using the changeset viewer.