Skip to content

Commit 21527db

Browse files
committed
Fixing pyAlbany build errors from changes to createSolver() routine
introduced yesterday in a PR.
1 parent 76713a4 commit 21527db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyAlbany/src/Albany_Interface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ PyProblem::PyProblem(std::string filename, Teuchos::RCP<PyParallelEnv> _pyParall
107107
false;
108108

109109
albanyAdjointModel = explicitMatrixTranspose ? slvrfctry->createModel(albanyApp, true) : Teuchos::null;
110-
solver = slvrfctry->createSolver(comm, albanyModel, albanyAdjointModel, false);
110+
solver = slvrfctry->createSolver(albanyModel, albanyAdjointModel, false);
111111

112112
n_params = albanyModel->Np();
113113

@@ -153,7 +153,7 @@ PyProblem::PyProblem(Teuchos::RCP<Teuchos::ParameterList> params, Teuchos::RCP<P
153153
false;
154154

155155
albanyAdjointModel = explicitMatrixTranspose ? slvrfctry->createModel(albanyApp, true) : Teuchos::null;
156-
solver = slvrfctry->createSolver(comm, albanyModel, albanyAdjointModel, false);
156+
solver = slvrfctry->createSolver(albanyModel, albanyAdjointModel, false);
157157

158158
n_params = albanyModel->Np();
159159

@@ -632,4 +632,4 @@ Teuchos::RCP<const Tpetra_Map> PyAlbany::getRankZeroMap(Teuchos::RCP<const Tpetr
632632
all_nodes_py_gids[i] = all_nodes_gids[i];
633633

634634
return rcp(new Tpetra_Map(numGlobalElements, all_nodes_py_gids, distributedMap->getIndexBase(), distributedMap->getComm()));
635-
}
635+
}

0 commit comments

Comments
 (0)