invert_by_lu does not work as expected



On 1/11/12, Rupert Swarbrick <rswarbrick at gmail.com> wrote:

> Grepping shows it declared special in src/fortra.lisp. I haven't looked
> further into why.

Well, the Fortran code changes the usual [ ] for array subscripts
to ( ), that's why LB and RB are special.

Thanks for sending the patch, but I've taken the simpler approach
of just changing LB and RB to *LB* and *RB*, respectively;
to the extent that other stuff changes, it makes it harder to see
what is the purpose of the patch.

What puzzles me about this problem is that LB is used in a
lexical binding in share/linearalgebra/lu.lisp, but it affects the
special variable by the same name -- I thought a declaration
would be required in lu.lisp to cause that. What's going on there?

best,

Robert Dodier