I'll work on it.

Henry Rich

On 4/1/2022 4:41 AM, 'Ian Shannon' via General wrote:
Hello,

I'm running J903 in windows

I made a programming mistake in setting the rank of the verb
"index_of"  that crashed the system.

I have an array A (years x observers x days) containing integer values.

I want to determine the location (ie day index) of a pre-determined value
for each year x observer. Hence array B is (Years x observers)


I should have coded

result =. A  i."1 0  B

but I coded

result =. A i."1 B

which crashed the system without any error messages etc.

For example -

    JVERSION
Engine: j903/j64avx2/windows
Release-a: commercial/2021-12-16T15:15:09
Library: 9.03.08
Qt IDE: 1.9.5s/5.15.2(5.15.2)
Platform: Win 64
Installer: J903 install
InstallPath: c:/utilities/j/j903
Contact: www.jsoftware.com
A =. 10 800 400 ?@:$ 100
   B =: 10 800  ?@:$ 80
   result =. A  i."1 0  B          NB. Works OK

   result =. A i."1 B             NB. Crash !!!



Ian
Ian Shannon
Undertaking rigorous statistics in support of the NSW environment

Science Strategy & Impact Branch
Department of Planning and Environment
T 02 9995 5490 |
Level 6, 4 Parramatta Square, 12 Darcy Street, Parramatta NSW 2150
M Locked Bag 5022, Parramatta NSW 2124 | W www.dpe.nsw.gov.au

The Department of Planning and Environment acknowledges that it stands on 
Aboriginal land. We acknowledge the traditional custodians of the land and we 
show our respect for elders past, present and emerging through thoughtful and 
collaborative approaches to our work, seeking to demonstrate our ongoing 
commitment to providing places in which Aboriginal people are included 
socially, culturally and economically.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is intended for the addressee(s) named and may contain confidential 
and/or privileged information.
If you are not the intended recipient, please notify the sender and then delete 
it immediately.
Any views expressed in this email are those of the individual sender except 
where the sender expressly and with authority states them to be the views of 
the NSW Office of Environment and Heritage.

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


--
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to