]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix initializer in tests/manifold/chart_manifold_10 5964/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 27 Feb 2018 17:48:10 +0000 (12:48 -0500)
committerTimo Heister <timo.heister@gmail.com>
Tue, 27 Feb 2018 17:48:10 +0000 (12:48 -0500)
tests/manifold/chart_manifold_10.cc

index 92a2dc820d2d88d3f4b903554d730c08e468d389..d13af5375eecb3a763b871abf50e22aae4bc5b38 100644 (file)
@@ -29,8 +29,8 @@ print_intermediate_point (const Manifold<dim> &manifold,
                           const Point<dim> &p2,
                           const double weight)
 {
-  const std::vector<Point<dim> > points({{p1, p2}});
-  const std::vector<double> weights({{1-weight, weight}});
+  const std::vector<Point<dim> > points({p1, p2});
+  const std::vector<double> weights({1-weight, weight});
   deallog.precision(3);
   deallog << manifold_name << " between points [" << p1 << "] and ["
           << p2 << "] with weight " << weight << std::endl;

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.