cristicbz / scid

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

General.t * General -> Symmetric Fails #84

Closed dsimcha closed 12 years ago

dsimcha commented 12 years ago

I didn't even realize this was supposed to work, but I found it in the tests that I'm refactoring, so I'm assuming it was. (In other words I feel the need to file a bug report if I'm commenting out a test.)

import scid.matvec;

void main() {
    auto m = Matrix!double([[1.0, 2], [5.0, 3]]);
    SymmetricMatrix!double s = m.t * m;
}

core.exception.AssertError@/home/dsimcha/customd/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