Changeset 2761


Ignore:
Timestamp:
01/04/10 16:57:45 (15 years ago)
Author:
Mathieu Morlighem
Message:

normalize only if last gradient was bad (ie: search_scalar=0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/jpl/control_core.m

    r2582 r2761  
    6060        end
    6161
    62         displaystring(verbose,'\n%s',['      normalizing directions...']);
    63         if n>=2,
     62        if n>=2 & search_scalar==0,
     63                displaystring(verbose,'\n%s',['      normalizing directions...']);
    6464                c(n).grad_g=Orth(c(n).grad_g,c(n-1).grad_g);
    6565        else
Note: See TracChangeset for help on using the changeset viewer.