// element is zero.
if (have_indirect_rows == false)
{
- Assert(loc_row >= 0 && loc_row < n_local_dofs,
+ Assert(loc_row < n_local_dofs,
ExcInternalError());
for (unsigned int j=0; j < n_actual_dofs; ++j)
{
const unsigned int loc_col = my_indices[j].local_row;
- Assert(loc_col >= 0 && loc_col < n_local_dofs,
+ Assert(loc_col < n_local_dofs,
ExcInternalError());
if (local_matrix(loc_row,loc_col) != 0)
// local matrix
if (loc_row != deal_II_numbers::invalid_unsigned_int)
{
- Assert (loc_row >= 0 && loc_row < n_local_dofs,
+ Assert (loc_row < n_local_dofs,
ExcInternalError());
// case 1a: col has direct contribution
// in local matrix
if (loc_col != deal_II_numbers::invalid_unsigned_int)
{
- Assert (loc_col >= 0 && loc_col < n_local_dofs,
+ Assert (loc_col < n_local_dofs,
ExcInternalError());
col_val = local_matrix(loc_row,loc_col);
}
double add_this;
if (loc_col != deal_II_numbers::invalid_unsigned_int)
{
- Assert (loc_col >= 0 && loc_col < n_local_dofs,
+ Assert (loc_col < n_local_dofs,
ExcInternalError());
add_this = local_matrix(my_indices[i].constraints[q].first,
loc_col);
{
if (loc_row != deal_II_numbers::invalid_unsigned_int)
{
- Assert (loc_row >= 0 && loc_row < n_local_dofs,
+ Assert (loc_row < n_local_dofs,
ExcInternalError());
val = local_vector(loc_row);
for (unsigned int i=0; i<constraint_lines.size(); ++i)