I've got it to run by:

1. Correcting:

CONG=. +/ L:0 INDX=: (1, L:0 }. L:0 -. L:0 y)<;.1 L:0 y   NB. search congestio
m

 to:

CONG=. +/ L:0 INDX=: (1, L:0 }. L:0 -. L:0 y)<;.1 L:0 y   NB. search congestion

and...

2. correcting:

TMP=. ‾. /:‾ x metropolis0 y NB. not burn_in and sort

to:

TMP=. -. /:- x metropolis0 y NB. not burn_in and sort

It runs, but doesn't stop. (I guess there's another char munged somewhere else.)

Ian



On Tue, Dec 22, 2009 at 4:50 PM, Devon McCormick <[email protected]> wrote:
> Mr. Shimura - I get the following error when I attempt to run your code:
>
> |domain error: index_zrp_sub1
> |   MPIND0=.(    i.>:>./MP)e.MP
> |index_zrp_sub1[:7]
>      MP
> 0.42465368
>
> Given that "MP" is non-integer, I don't see how the assignment of "MPIND0"
> can work.
> I did fix one line-wrap error (at "search congestiom"->"search congestion").
>
> I'm running on a PC under XP, SP3.
>
> Also, the Japanese characters do not show up properly but that shouldn't
> cause the problem above.
>
> 2009/12/22 M.Shimura <[email protected]>
>
>> I apologize for trouble of e-mail system
>> so  send  Script again
>> using ? only get random numbers
>> sorry I ever  checked  on Mac
>>
>>  m.shimura
>>
>>
>> NB. -----------------------cut here-----------------
>> NB. ------------------------------------------------
>> NB. Title "turtle_circuit.ijs"
>> ...
>> NB. ----------------------------
>> NB. E.O.F.
>>
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to