cristicbz / scid

Scientific library for the D programming language
Boost Software License 1.0
23 stars 8 forks source link

Can't transpose triangular matrices #63

Closed dsimcha closed 12 years ago

dsimcha commented 13 years ago
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\internal\assertmessages.d(123): Dimension mismatch in matrix assignment: lhsDims = (0, 0), rhsDims = (2, 2)

dsimcha commented 12 years ago

https://github.com/cristicbz/scid/commit/52af9b3338570b878fbf483181f6e6cb528a397c

dsimcha commented 12 years ago

Closed the wrong bug by accident.

dsimcha commented 12 years ago

Fixed.

https://github.com/cristicbz/scid/commit/e1fbc6886195ef171559ee895a26c51bfdc975e1

The test case still doesn't work but for an unrelated reason. I'll file that as a separate bug.