Changeset 17662


Ignore:
Timestamp:
04/07/14 13:39:17 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: no need to initialize vector with 0, this is done automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/toolkits/petsc/patches/NewVec.cpp

    r15839 r17662  
    3333
    3434        VecCreate(comm,&vector);
    35 
    3635        VecSetSizes(vector,local_size,PETSC_DECIDE);
    3736        VecSetFromOptions(vector);
    3837
    39         /*fill with 0: */
    40         VecSet(vector,0.0);
    41 
    4238        return vector;
    4339}
Note: See TracChangeset for help on using the changeset viewer.