Changeset 11725


Ignore:
Timestamp:
03/19/12 20:06:31 (13 years ago)
Author:
Eric.Larour
Message:

Shield some potentially dangerous API dependency

File:
1 edited

Legend:

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

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