[Dune] [#1041] BCRSMatrix does not always initialize data memory (Attachment added)

Dune flyspray at dune-project.org
Tue Feb 14 16:15:42 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Steffen Müthing (smuething) 

Attached to Project - Dune
Summary - BCRSMatrix does not always initialize data memory
Task Type - Bug Report
Category - ISTL
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - BCRSMatrix does not initialize the memory allocated for the actual matrix values when the matrix is created using the random scheme. While this is unproblematic in the common case where the block type is some kind of FieldMatrix, this behavior causes crashes if the block type is again a BCRSMatrix, since the BCRSMatrix has a non-trivial constructor.

Is this behavior desired (to speed up matrix creation)? If not, the attached patch fixes the issue for me.

Steffen

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1041

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list