Ignore:
Timestamp:
08/07/18 10:22:46 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removing double white lines

Location:
issm/trunk-jpl/src/c/shared/Numerics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Numerics/BrentSearch.cpp

    r18137 r23066  
    6868                _printf0_(" x = "<<setw(9)<<xmin<<" | ");
    6969                fxmin = (*g)(&G,X0,usr); if(xIsNan<IssmDouble>(fxmin)) _error_("Function evaluation returned NaN");
    70                
     70
    7171                /*Get f(xmax)*/
    7272                _printf0_(" x = "<<setw(9)<<xmax<<" | ");
     
    244244                J[n]=fxbest;
    245245        }
    246        
     246
    247247        /*return*/
    248248        xDelete<IssmDouble>(X);
  • issm/trunk-jpl/src/c/shared/Numerics/legendre.cpp

    r20033 r23066  
    121121
    122122          for i = 2 : n
    123          
     123
    124124                v(:,i+1) = ( ( 2 * i - 1 ) * x .* v(:,i)   ...
    125125                                        -  (     i - 1 ) *    v(:,i-1) ) ...
    126126                                        /  (     i     );
    127          
     127
    128128          end
    129129          }}}  */
     
    240240                                           polynomials of order 0 through N.
    241241        }}}*/
    242        
     242
    243243        int i,j;
    244244
     
    254254        for ( i = 0; i < m; i++ ) {
    255255                for ( j = 2; j <= n; j++ ) {
    256                        
     256
    257257                        v[j+i*(n+1)] = ( ( IssmDouble ) ( 2 * j - 1 ) * x[i] * v[(j-1)+i*(n+1)]
    258258                                        - ( IssmDouble ) (     j - 1 ) *        v[(j-2)+i*(n+1)] )
Note: See TracChangeset for help on using the changeset viewer.