Commit 8583a3f7 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Replaced Malloc() by malloc().

parent 17d6f723
......@@ -386,7 +386,7 @@ void *XTimstat(void *argument)
if ( nmiss > 0 || samp1[varID][levelID].ptr )
{
if ( samp1[varID][levelID].ptr == NULL )
samp1[varID][levelID].ptr = (double*) Malloc(nwpv*gridsize*sizeof(double));
samp1[varID][levelID].ptr = (double*) malloc(nwpv*gridsize*sizeof(double));
for ( int i = 0; i < nwpv*gridsize; i++ )
if ( DBL_IS_EQUAL(pvar1->ptr[i], pvar1->missval) )
......@@ -417,7 +417,7 @@ void *XTimstat(void *argument)
{
if ( samp1[varID][levelID].ptr == NULL )
{
samp1[varID][levelID].ptr = (double*) Malloc(nwpv*gridsize*sizeof(double));
samp1[varID][levelID].ptr = (double*) malloc(nwpv*gridsize*sizeof(double));
for ( int i = 0; i < nwpv*gridsize; i++ )
samp1[varID][levelID].ptr[i] = nsets;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment