From: Peter Munch Date: Sun, 25 Jul 2021 13:45:54 +0000 (+0200) Subject: Fix Convert for map X-Git-Tag: v9.4.0-rc1~1120^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12600%2Fhead;p=dealii.git Fix Convert for map --- diff --git a/include/deal.II/base/patterns.h b/include/deal.II/base/patterns.h index 8cc66785b7..e8070ef3de 100644 --- a/include/deal.II/base/patterns.h +++ b/include/deal.II/base/patterns.h @@ -1902,7 +1902,7 @@ namespace Patterns AssertDimension(key_val.size(), 2); t.insert(std::make_pair( Convert::to_value(key_val[0], *key_p), - Convert::to_value(key_val[1]))); + Convert::to_value(key_val[1], *val_p))); } return t;