Welcome to iraf.net Tuesday, May 21 2024 @ 01:56 PM GMT
duvall |
04/30/2009 05:28PM (Read 1707 times)
|
|
|
Status: offline
Registered: 03/08/2006
Posts: 59
|
The following script hangs on execution. If one replaces the names of the arrays by different names, like t1[4], t2[4], then things work ok.procedure imhst_test (i)
int i { min=1, max=4, prompt="which index to use"}
begin
real z1[4], z2[4]
z1[1] = 0
z2[1] = 10
z1[2] = 0
z2[2] = 100
z1[3] = 0
z2[3] = 500
z1[4] = 0
z2[4] = 20000
imhistogram ("dev$pix", z1=z1, z2=z2, binw=2.5)
end
|
|
|
|
fitz |
04/30/2009 05:28PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
This appears to be a memory bug in the CL caused by the parameter lookup mechanism, the 'hang' is a fault that happens in a changing location as you re-run the script. I'll add it to the bugfix list for the next release, for now the workaround is obvious. Thanks for the report.-Mike
|
|
|
|
| |
|
Content generated in: 0.07 seconds |
|