On 10/14/20 8:14 AM, Nikki Holtzer wrote:
void dealii::FullMatrix< <template-parameter-1-1>
>::add(dealii::FullMatrix< <template-parameter-1-1> >::size_type,
dealii::FullMatrix< <template-parameter-1-1> >::size_type, const index_type*,
const number2*, bool, bool) [with number2 = double; index_type = unsigned int;
number = double; dealii::FullMatrix< <template-parameter-1-1> >::size_type =
long unsigned int]
The violated condition was:
static_cast<typename ::dealii::internal::argument_type<void( typename
std::common_type<decltype(row), decltype(this->m())>::type)>:: type>(row) <
static_cast<typename ::dealii::internal::argument_type<void( typename
std::common_type<decltype(row), decltype(this->m())>::type)>:: type>(this->m())
Additional information:
Index 0 is not in the half-open range [0,0). In the current case, this
half-open range is in fact empty, suggesting that you are accessing an element
of an empty collection such as a vector that has not been set to the correct size.
Reading the error message, it seems to me that you didn't size the matrix
correctly.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/99bc6d6a-c25f-1f16-a9f7-ee64c478cfc3%40colostate.edu.