Ignore:
Timestamp:
07/24/12 10:36:19 (13 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 12703

File:
1 edited

Legend:

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

    r10197 r12706  
    1717#include "./solutions.h"
    1818
    19 bool controlconvergence(double J, double tol_cm){
     19bool controlconvergence(IssmDouble J, IssmDouble tol_cm){
    2020
    2121        int i;
     
    2323
    2424        /*Has convergence been reached?*/
    25         if (!isnan(tol_cm) && J<tol_cm){
     25        if (!xIsNan<IssmDouble>(tol_cm) && J<tol_cm){
    2626                converged=true;
    27                 _printf_(VerboseConvergence(),"      Convergence criterion reached: J = %g < %g",J,tol_cm);
     27                if(VerboseConvergence()) _pprintString_("      Convergence criterion reached: J = " << J << " < " << tol_cm);
    2828        }
    2929
Note: See TracChangeset for help on using the changeset viewer.