External Issue: _lu() assumes that the domain for the array it is provided will also be zero based

17513, "vrockz747", "_lu() assumes that the domain for the array it is provided will also be zero based", "2021-04-02T16:37:35Z"

Summary of Problem

The _lu() helper function by default assumes all the arrays provided to it are 0 based.

Steps to Reproduce

Source Code:

use LinearAlgebra;
var dom = {1..2,1..2};
var arr : [dom] real = 1;
var x = lu(arr);
writeln(x(0));

since here indices of arr is 1 based and not 0, it gives a run-time error index out of bounds