From 0e0375d197c643a056da5e5ef90d9fe292c666b9 Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simip@gmx.de>
Date: Fri, 31 Aug 2018 14:01:42 +0200
Subject: [PATCH] Update README.md

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 01b30fa..8719f74 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ evaluation in arbitrary local coordinates.
 
 ```c++
 Grid grid = ...;
-VtkWriter<typename Grid::LeafGridView> vtkWriter(grid.leafGridView());
+VtkWriter<typename Grid::LeafGridView> vtkWriter(grid.leafGridView(), Vtk::ASCII);
 
 auto fct = makeAnalyticGridViewFunction([](auto const& x) {
   return std::sin(x[0]);
@@ -24,7 +24,7 @@ auto fct = makeAnalyticGridViewFunction([](auto const& x) {
 vtkWriter.addPointData(fct, "u_points");
 vtkWriter.addCellData(fct, "u_cells");
 
-vtkWriter.write("filename.vtu", Vtk::ASCII);
+vtkWriter.write("filename.vtu");
 ```
 
 See also the `src/` directory for more examples.
-- 
GitLab