Opened 11 years ago

#6542 new Bugs

cannot assign empty matrix to matrix

Reported by: Alex Hagen-Zanker <ahh34@…> Owned by: Gunter
Milestone: To Be Determined Component: uBLAS
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

The following gives a runtime error, because matrix b is empty

boost::numeric::ublas::matrix<int> a, b; a = b;

I am submitting a patch to storage.hpp, but don't know if the problem appears elsewhere too.

Attachments (1)

storage_hpp.patch (559 bytes ) - added by Alex Hagen-Zanker <ahh34@…> 11 years ago.

Download all attachments as: .zip

Change History (1)

by Alex Hagen-Zanker <ahh34@…>, 11 years ago

Attachment: storage_hpp.patch added
Note: See TracTickets for help on using tickets.