Skip to content

Commit

Permalink
Correctly init projection unit test matrices
Browse files Browse the repository at this point in the history
Refs #1593.
  • Loading branch information
roystgnr authored and jwpeterson committed Apr 9, 2018
1 parent ff83265 commit afb83b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/systems/systems_test.C
Expand Up @@ -281,7 +281,7 @@ public:
std::unique_ptr<SparseMatrix<Number> > gold_mat_ptr =
SparseMatrix<Number>::build(*TestCommWorld);
SparseMatrix<Number> & gold_mat = *gold_mat_ptr;
gold_mat.init(n_new_dofs, n_old_dofs, n_new_dofs_local, n_old_dofs);
gold_mat.init(n_new_dofs, n_old_dofs, n_new_dofs_local, n_old_dofs_local);

// construct the gold projection matrix using static node numbering as reference info
for ( const auto & node : mesh.local_node_ptr_range() )
Expand Down Expand Up @@ -430,7 +430,7 @@ public:
std::unique_ptr<SparseMatrix<Number> > gold_mat_ptr =
SparseMatrix<Number>::build(*TestCommWorld);
SparseMatrix<Number> & gold_mat = *gold_mat_ptr;
gold_mat.init(n_new_dofs, n_old_dofs, n_new_dofs_local, n_old_dofs);
gold_mat.init(n_new_dofs, n_old_dofs, n_new_dofs_local, n_old_dofs_local);

// construct the gold projection matrix using static node numbering as reference info
for ( const auto & node : mesh.local_node_ptr_range() )
Expand Down Expand Up @@ -608,7 +608,7 @@ public:
std::unique_ptr<SparseMatrix<Number> > gold_mat_ptr =
SparseMatrix<Number>::build(*TestCommWorld);
SparseMatrix<Number> & gold_mat = *gold_mat_ptr;
gold_mat.init(n_new_dofs, n_old_dofs, n_new_dofs_local, n_old_dofs);
gold_mat.init(n_new_dofs, n_old_dofs, n_new_dofs_local, n_old_dofs_local);

// construct the gold projection matrix using static node numbering as reference info
for ( const auto & node : mesh.local_node_ptr_range() )
Expand Down

0 comments on commit afb83b7

Please sign in to comment.