Re: Bug in WAVE/WAVE Advantage Routine SUM [message #1766] |
Wed, 02 February 1994 16:00 |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
black@signal.dra.hmg.gb (John Black) writes:
> We've just got WAVE v4.20 & WAVE Advantage v1.0 & I've spotted the VNI people
> have still not fixed a bug in the routine SUM. (The bug might exist in IDL
> as well).
>
Mea culpa. I was the original author of SUM. Actually, in IDL it is no longer
needed, since the RSI folks modified TOTAL to include this capability. The
only difference is that in TOTAL the dimensions are specified as 1 -> N whereas
I had the dimensions as being from 0 -> (N-1).
I don't use SUM any more, and I don't believe it's distributed with IDL these
days. Actually, it's been a while since I've used the version that apparently
is still distributed with PV-WAVE, since I later wrote a much faster version
that used CALL_EXTERNAL to execute FORTRAN code to do the same thing. Now
though, I simply have SUM as a pointer to TOTAL so that old code will still
work.
William Thompson
NASA Goddard Space Flight Center
|
|
|