comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug report for routine AVG in WAVE CL V4.2 WAVE Advantage 1.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Bug report for routine AVG in WAVE CL V4.2 WAVE Advantage 1.0 [message #1695] Thu, 10 February 1994 11:33
black is currently offline  black
Messages: 39
Registered: August 1992
Member
Following my bug report on the routine SUM a couple of weeks back, I just realised there's an
inherited bug in the routine AVG.

I'll explain. AVG calls the routine SUM when you want to average over a given dimension of
an array, ie use AVG in the mode AVG(ARRAY,DIMENSION_NUMBER). So AVG will malfunction
in the same conditions that SUM will, which I think is when the number of elements in the
array that results from summing or averaging is over 32768, that's a 256 by 128 array.

So AVG could be failing as well for you.

Further warning note: With the new version of WAVE CL/WAVE Advantage there's been the
advent of compiled WAVE language files. This means *AFTER* fixed SUM you have to:

a) recompile & save SUM once fixed because WAVE will pick up the compiled version in
preference to the source code, because the routines written in WAVE now come as
compiled code as well as the origonal WAVE source (both in the same directory) - at least
on my system they do!
b) probably recompile & save AVG because the compiled version of AVG still might have the
old SUM locked within it - I'm not au fait with the finer workings of the new version of
WAVE regarding compiled code to be sure; perhaps someone more informed, like someone
at VNI could comment?

If you don't know what I'm talking about check out the routine COMPILE in your new manuals
or the new wizo online hypertext help system if it happens to be implemented on your
platform (ULTRIX yes, OSF no for some reason - more enlightenment someone?)

Hope this makes sense,
John Black.
[Message index]
 
Read Message
Previous Topic: Motif widget color/3-d
Next Topic: IDL Structures

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:10:29 PDT 2025

Total time taken to generate the page: 0.80135 seconds