Changeset 20634


Ignore:
Timestamp:
05/23/16 09:16:19 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: took care of warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/kriging/Quadtree.cpp ΒΆ

    r18237 r20634  
    502502           QuadtreeBox* qtreebox = new QuadtreeBox(*this);
    503503
    504                 if (this->box){
    505                         for (int i=0; i<4; ++i){
    506                                 if(this->box[i]) qtreebox->box[i] = reinterpret_cast<QuadtreeBox*>(this->box[i]->copy());
    507                                 else qtreebox->box[i] = NULL;
    508                         }
    509                 }
    510                 if (this->obs){
    511                         for (int i=0; i<4; ++i){
    512                                 if(this->obs[i]) qtreebox->obs[i] = reinterpret_cast<Observation*>(this->obs[i]->copy());
    513                                 else qtreebox->obs[i] = NULL;
    514                         }
     504                for (int i=0; i<4; ++i){
     505                        if(this->box[i]) qtreebox->box[i] = reinterpret_cast<QuadtreeBox*>(this->box[i]->copy());
     506                        else qtreebox->box[i] = NULL;
     507                }
     508                for (int i=0; i<4; ++i){
     509                        if(this->obs[i]) qtreebox->obs[i] = reinterpret_cast<Observation*>(this->obs[i]->copy());
     510                        else qtreebox->obs[i] = NULL;
    515511                }
    516512
Note: See TracChangeset for help on using the changeset viewer.