Ignore:
Timestamp:
09/07/13 16:18:25 (11 years ago)
Author:
tbretz
Message:
Added some includes to allow include in any order; this also makes the namesapce for size_t necessary
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/Interpolator2D.h

    r17131 r17143  
    1818
    1919#include <float.h>
     20#include <math.h>
    2021#include <vector>
    2122
     
    330331        inputGrid.clear();
    331332        inputGrid.reserve(v.size());
    332         for (size_t i=0; i<v.size(); i++)
     333        for (std::size_t i=0; i<v.size(); i++)
    333334            inputGrid.emplace_back(i, v[i].x, v[i].y);
    334335
     
    378379        outputGrid.clear();
    379380        outputGrid.reserve(v.size());
    380         for (size_t i=0; i<v.size(); i++)
     381        for (std::size_t i=0; i<v.size(); i++)
    381382            outputGrid.emplace_back(i, v[i].first, v[i].second);
    382383
Note: See TracChangeset for help on using the changeset viewer.