Ignore:
Timestamp:
06/30/10 13:10:35 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solutions/stokescontrolinit.cpp

    r4076 r4351  
    1515
    1616        /*flags: */
    17         int verbose=0;
    18         int isstokes=0;
     17        int    verbose = 0;
     18        bool   isstokes;
    1919        double stokesreconditioning;
    20         bool conserve_loads=true;
     20        bool   conserve_loads = true;
    2121       
    2222        /*first recover parameters common to all solutions:*/
     
    2626
    2727        /*if no Stokes analysis carried out, assign output and return*/
    28         if (!isstokes)femmodel->SetCurrentAnalysis(DiagnosticHorizAnalysisEnum);
     28        if (!isstokes){
     29                femmodel->SetCurrentAnalysis(DiagnosticHorizAnalysisEnum);
     30                return;
     31        }
    2932
    3033        /* For Stokes inverse control method, we are going to carry out the inversion only on the Stokes part. So we need
Note: See TracChangeset for help on using the changeset viewer.