Skip to content
Snippets Groups Projects
Commit e443b348 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[BCRSMatrix] Improve error handling for implicit build mode parameters

This patch adds checks to make sure the user has actually set valid
parameters before trying to allocate the matrix in implicit mode.
We use a negative value for the overflow fraction as an indicator for
this.

As part of the cleanup, this patch also makes sure that avg and
overflowsize are always initialized to a well-defined value.
parent 8533dc68
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment