Changeset 11744


Ignore:
Timestamp:
03/20/12 09:51:35 (13 years ago)
Author:
Mathieu Morlighem
Message:

no NULL pointer allowed for Vector or Matrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/solutions/convergence.cpp

    r11725 r11744  
    2424        double nF;
    2525        double solver_residue,res;
    26         int   M;
    2726
    2827        /*convergence options*/
     
    3433        /*If uf is NULL in input, f-set is nil, model is fully constrained, therefore converged from
    3534         * the get go: */
    36         uf->GetSize(&M);
    37         if(M==0){
     35        if(uf->IsEmpty()){
    3836                *pconverged=true;
    3937                return;
Note: See TracChangeset for help on using the changeset viewer.