Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 12d657fe authored by gsell's avatar gsell
Browse files

Merge branch '755-tpetra-csrmatrix-getnodenumelements-is-deprecated' into 'master'

Resolve "Tpetra CsrMatrix::getNodeNumElements() is deprecated"

Closes #755

See merge request !613
parents 3ef5ce94 98be2665
No related branches found
No related tags found
1 merge request!613Resolve "Tpetra CsrMatrix::getNodeNumElements() is deprecated"
......@@ -533,7 +533,7 @@ void MGPoissonSolver::ComputeStencil(Vector_t /*hr*/, Teuchos::RCP<TpetraVector_
# pragma clang diagnostic push
# pragma clang diagnostic warning "-Wdeprecated-declarations"
#endif
int NumMyElements = map_p->getNodeNumElements();
int NumMyElements = map_p->getLocalNumElements();
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
......@@ -611,7 +611,7 @@ void MGPoissonSolver::printLoadBalanceStats() {
# pragma clang diagnostic push
# pragma clang diagnostic warning "-Wdeprecated-declarations"
#endif
size_t myNumPart = map_p->getNodeNumElements();
size_t myNumPart = map_p->getLocalNumElements();
size_t NumPart = map_p->getGlobalNumElements() * 1.0 / comm_mp->getSize();
#if defined(__clang__)
# pragma clang diagnostic pop
......
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