Re: correction to pdfxy() description

From: Jatin Kala <jatin.kala.jk_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 03 2013 - 22:14:59 MDT

Hi Will,
In the source code for pdfxy, they have around line 11170:
pdf = new( nbins, "double", getFillValue(x))

Then later:
return( pdf )

So, it seems the pdf array is pre-allocated as a double array, which would explain why perhaps.
Does this really matter though?

Cheers,
Jatin.

On 04/10/2013, at 1:55 PM, Will Hobbs wrote:

> Hi all
>
> The function description for pdfxy() states that the return value is type 'float'; in fact I get a return of type 'double' regardless of the datatype of the x and y arguments.
>
> http://www.ncl.ucar.edu/Document/Functions/Contributed/pdfxy.shtml
>
> Will
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 3 22:15:19 2013

This archive was generated by hypermail 2.1.8 : Fri Oct 04 2013 - 16:45:17 MDT