Commit aadf74d5 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

changed function signature

parent 3dd44e04
......@@ -2,7 +2,7 @@
IStochasticEllipticProblem *
CreateStochasticEllipticProblem(std::string problemName, Meshes &meshes) {
CreateStochasticEllipticProblem(const string &problemName, Meshes &meshes) {
if (problemName == "StochasticLaplace1D")
return new StochasticLaplace1D(meshes);
if (problemName == "Laplace1D")
......
......@@ -109,6 +109,6 @@ public:
};
IStochasticEllipticProblem *
CreateStochasticEllipticProblem(std::string problemName, Meshes &meshes);
CreateStochasticEllipticProblem(const string &problemName, Meshes &meshes);
#endif //STOCHASTICELLIPTICPROBLEM_HPP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment