]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix Convert for map 12600/head
authorPeter Munch <peterrmuench@gmail.com>
Sun, 25 Jul 2021 13:45:54 +0000 (15:45 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Sun, 25 Jul 2021 13:45:54 +0000 (15:45 +0200)
include/deal.II/base/patterns.h

index 8cc66785b79796d94692d83ed6b6a183bc2ab130..e8070ef3de2b790799f9e10ed9725cfc68e654fc 100644 (file)
@@ -1902,7 +1902,7 @@ namespace Patterns
             AssertDimension(key_val.size(), 2);
             t.insert(std::make_pair(
               Convert<typename T::key_type>::to_value(key_val[0], *key_p),
-              Convert<typename T::mapped_type>::to_value(key_val[1])));
+              Convert<typename T::mapped_type>::to_value(key_val[1], *val_p)));
           }
 
         return t;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.