Ignore:
Timestamp:
May 10, 2012, 12:22:46 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
06e153
Parents:
ae05b4
Message:

Fixed some warnings.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1804 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/units/particle/interpolation.cpp

    rae05b4 rcd0fed  
    1414using namespace VMG;
    1515
    16 Particle::Interpolation::Interpolation(const unsigned int& degree) :
     16Particle::Interpolation::Interpolation(const int& degree) :
    1717  deg(degree),
    1818  deg_1(degree+1),
     
    3636  Index i;
    3737
    38   const Index begin = index - (static_cast<int>(deg_1)-1)/2 - 1;
     38  const Index begin = index - deg/2 - 1;
    3939
    4040  h = grid.Extent().MeshWidth();
     
    6868  vmg_float power = 1.0;
    6969  unsigned long faculty = 1;
    70   unsigned int c;
     70  int c;
    7171  Index i;
    7272
     
    7777  ++i[direction];
    7878  for (c=1; c<deg_1; ++i[direction], ++c) {
    79     for (unsigned int j=0; j<deg_1-c; ++j)
     79    for (int j=0; j<deg_1-c; ++j)
    8080      coeff_buffer[j] = coeff_buffer[j+1] - coeff_buffer[j];
    8181    faculty *= c;
Note: See TracChangeset for help on using the changeset viewer.