Skip to content
Snippets Groups Projects
Commit 55b6cd31 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

bugfix: use operator[] instead of find() if you want to force creation of a...

bugfix: use operator[] instead of find() if you want to force creation of a non-existant entry in a std::map

[[Imported from SVN: r6802]]
parent 912fb55d
No related branches found
No related tags found
No related merge requests found
...@@ -422,7 +422,7 @@ continuumDirichletToNeumannMap(const RigidBodyMotion<3>& lambda) const ...@@ -422,7 +422,7 @@ continuumDirichletToNeumannMap(const RigidBodyMotion<3>& lambda) const
{ {
std::pair<std::string,std::string> couplingName = std::make_pair("rod", "continuum"); std::pair<std::string,std::string> couplingName = std::make_pair("rod", "continuum");
VectorType& x3d = continuumSubdomainSolutions_.find("continuum")->second; VectorType& x3d = continuumSubdomainSolutions_["continuum"];
x3d.resize(complex_.continuumGrid("continuum")->size(dim)); x3d.resize(complex_.continuumGrid("continuum")->size(dim));
x3d = 0; x3d = 0;
......
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