Changeset 20031
- Timestamp:
- 01/30/16 18:46:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Numerics/legendre.cpp
r20027 r20031 140 140 #include "./recast.h" 141 141 142 double *p_polynomial_value ( int m, int n, IssmDouble* x){142 IssmDouble* p_polynomial_value ( int m, int n, IssmDouble* x){ 143 143 144 144 /******************************************************************************{{{/ … … 241 241 }}}*/ 242 242 243 int i ;243 int i,j; 244 244 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)); 250 249 251 250 for ( i = 0; i < m; i++ ) v[i*(n+1)+0] = 1.0;
Note:
See TracChangeset
for help on using the changeset viewer.