Changeset 11755


Ignore:
Timestamp:
03/20/12 14:56:03 (13 years ago)
Author:
Mathieu Morlighem
Message:

vector cannot be NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Numerics/Vector.cpp

    r11745 r11755  
    7474
    7575        if(petsc_vec==NULL){
    76                 this->vector=NULL;
     76                this->vector=NewVec(0);
    7777        }
    7878        else{
     
    216216
    217217        int M;
     218
     219        _assert_(this->vector);
    218220        this->GetSize(&M);
    219221
Note: See TracChangeset for help on using the changeset viewer.