Changeset 20031


Ignore:
Timestamp:
01/30/16 18:46:57 (9 years ago)
Author:
seroussi
Message:

CHG: testing compile

File:
1 edited

Legend:

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

    r20027 r20031  
    140140#include "./recast.h"
    141141
    142 double *p_polynomial_value ( int m, int n, IssmDouble* x){
     142IssmDouble* p_polynomial_value ( int m, int n, IssmDouble* x){
    143143
    144144        /******************************************************************************{{{/
     
    241241        }}}*/
    242242       
    243         int i;
     243        int i,j;
    244244        int j;
    245         IssmDouble* v=NULL;
    246 
    247         if ( n < 0 ) return NULL;
    248 
    249         v = xNew<IssmDouble>(m*(n+1));
     245
     246        if(n<0) return NULL;
     247
     248        IssmDouble* v = xNew<IssmDouble>(m*(n+1));
    250249
    251250        for ( i = 0; i < m; i++ ) v[i*(n+1)+0] = 1.0;
Note: See TracChangeset for help on using the changeset viewer.