Home »
Public Forums »
archive »
Floating divide by 0
Floating divide by 0 [message #45453] |
Fri, 16 September 2005 11:51 |
Antonio Santiago
Messages: 201 Registered: February 2004
|
Senior Member |
|
|
Hi group, I have an strange problem with a simple code.
I have created a IDLgrPallete object, and IDLgrImage from a [500,500]
byte data values that are the indexes of the palette and when draw it
into am IDLgrWindow I get a wonderful:
% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating overflow
% Program caused arithmetic error: Floating illegal operand
Values of my data are between 0 and 39, and my palette is a created from
[256,3] array.
Any ideas?
Thanks in advice.
--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
|
|
|
Current Time: Wed Oct 08 15:15:42 PDT 2025
Total time taken to generate the page: 0.06195 seconds