It looks like this is a stack overflow.  I have put in a check to detect it, for the next release.

The arguments are surprising:

   $a
82
   $b
80 9 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3

I don't understand why rank would ever get into a loop.  The code for sparse matrices is very complex, and I will not look more deeply unless you get a stack error on an argument that should work.

Henry Rich

On 1/28/2020 2:43 PM, 'Sergey Kamenev' via Beta wrote:
I created mini test file.

Values of variables causing error saved in x.jdata and y.jdata files.

Run my file bug.ijs and see error.

Sergey

----------------------------------------------------------------------
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