Ignore:
Timestamp:
12/21/20 18:01:22 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: cosmetics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/matrix/ElementVector.cpp

    r20827 r25910  
    238238void ElementVector::InsertIntoGlobal(Vector<IssmDouble>* pf){/*{{{*/
    239239
    240         int i;
    241         IssmDouble* localvalues=NULL;
    242 
    243240        if(this->fsize){
    244241                /*first, retrieve values that are in the f-set from the g-set values vector: */
    245                 localvalues=xNew<IssmDouble>(this->fsize);
    246                 for(i=0;i<this->fsize;i++){
     242                IssmDouble* localvalues=xNew<IssmDouble>(this->fsize);
     243                for(int i=0;i<this->fsize;i++){
    247244                        localvalues[i]=this->values[this->flocaldoflist[i]];
    248245                }
Note: See TracChangeset for help on using the changeset viewer.