cristicbz/scid — Issue #86: Transposing Triangular Matrices Modifies the Zero Element
Author: dsimcha
Created: 2012-01-31 05:02:40+00:00
State: open

void main() {
import scid.matvec, std.stdio;
auto mat = TriangularMatrix!double([[1.0, 2.0], [0.0, 3.0]]);
eval(mat.t);
}

core.exception.AssertError@scid\storage\triangular.d(145): Modification of zero element in triangle matrix.

Looks like the fallback copying routine's copying the matrix vector-by-vector doesn't work in the triangular-to-triangular case.