[uBLAS] Results of different size matrix addition

8 Mar
2011
8 Mar
'11
2:43 p.m.
According to the preconditions for binary matrix operations both matrix must have the same size ( http://www.boost.org/doc/libs/1_46_0/libs/numeric/ublas/doc/matrix_expressio...). What runtime error should I expected if the matrix sizes are not the same? Ryan

8 Mar
8 Mar
2:54 p.m.
If it's a precondition, you don't have the right to expect any particular behavior when it's violated. Generally that means you get undefined behavior, sort of like when you dereference a garbage pointer. It might "succeed" silently; it might take your machine down hard; it might send a card to your grandmother. On Tue, Mar 8, 2011 at 9:43 AM, Ryan <mccorywork@gmail.com> wrote:
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
5244
Age (days ago)
5244
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dave Abrahams
-
Ryan