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

Home » Public Forums » archive » HISTOGRAM data type bug?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
HISTOGRAM data type bug? [message #71349] Mon, 14 June 2010 01:30
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
Hi,
I observed that IDL 6.4 x64 and 7.1 x64 (Windows 7 x64) crashes each
time I'd like to do the following:

IDL> test_histo_bug
% Compiled module: TEST_HISTO_BUG.
L INT = Array[5, 5]
L DOUBLE = Array[5, 5]
H LONG = Array[7]

IDL> test_histo_bug,/crashme
->IDL crashes completely


pro test_histo_bug,crashme=crashme
l=$
[[0,0,0,0,0],$
[0,1,1,1,1],$
[0,1,1,1,1],$
[0,1,1,1,1],$
[0,1,1,1,2]]
help,l
l=keyword_set(crashme)? ulong(l) : double(l)
h=histogram(l,reverse_indices=r,nbins=7,min=1)
help,l,h
end

Is it possible that HISTOGRAMM can't *handle* ULONG values? May be
someone can shed some light on this behaviour?

Thanks in advance

CR
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: bar graph
Next Topic: "unable to allocate memory to make array",How much memory does triangulate need?

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

Current Time: Wed Oct 08 11:49:30 PDT 2025

Total time taken to generate the page: 0.00263 seconds