From a267b594337aade54a255aea09df609688c3c106 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 26 Sep 2007 16:10:01 +0000 Subject: [PATCH] Explicitly specify template arguments in calls to a template function in an anonymous namespace. xlC requires this and may even be correct since functions with implicit linkage should not be considered in template argument deduction, but gcc appears to accept this anyway... git-svn-id: https://svn.dealii.org/trunk@15250 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/data_out_base.cc | 12 ++++++------ deal.II/examples/step-27/Makefile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index a5165e86ac..eabffc4f84 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -1358,7 +1358,7 @@ void DataOutBase::write_ucd (const std::vector > &patches, // and cells for later use unsigned int n_nodes; unsigned int n_cells; - compute_sizes (patches, n_nodes, n_cells); + compute_sizes (patches, n_nodes, n_cells); /////////////////////// // preamble if (flags.write_preamble) @@ -1442,7 +1442,7 @@ void DataOutBase::write_dx (const std::vector > &patches, // and cells for later use unsigned int n_nodes; unsigned int n_cells; - compute_sizes(patches, n_nodes, n_cells); + compute_sizes(patches, n_nodes, n_cells); // start with vertices order is // lexicographical, x varying // fastest @@ -2623,7 +2623,7 @@ void DataOutBase::write_gmv (const std::vector > &patches, // and cells for later use unsigned int n_nodes; unsigned int n_cells; - compute_sizes(patches, n_nodes, n_cells); + compute_sizes(patches, n_nodes, n_cells); // in gmv format the vertex // coordinates and the data have an @@ -2750,7 +2750,7 @@ void DataOutBase::write_tecplot (const std::vector > &patche // and cells for later use unsigned int n_nodes; unsigned int n_cells; - compute_sizes(patches, n_nodes, n_cells); + compute_sizes(patches, n_nodes, n_cells); /////////// // preamble @@ -3018,7 +3018,7 @@ void DataOutBase::write_tecplot_binary (const std::vector > // and cells for later use unsigned int n_nodes; unsigned int n_cells; - compute_sizes(patches, n_nodes, n_cells); + compute_sizes(patches, n_nodes, n_cells); // local variables only needed to write Tecplot // binary output files const unsigned int vars_per_node = (spacedim+n_data_sets), @@ -3329,7 +3329,7 @@ void DataOutBase::write_vtk (const std::vector > &patches, // and cells for later use unsigned int n_nodes; unsigned int n_cells; - compute_sizes(patches, n_nodes, n_cells); + compute_sizes(patches, n_nodes, n_cells); // in gmv format the vertex // coordinates and the data have an // order that is a bit unpleasant diff --git a/deal.II/examples/step-27/Makefile b/deal.II/examples/step-27/Makefile index ad64734a77..7f7400590a 100644 --- a/deal.II/examples/step-27/Makefile +++ b/deal.II/examples/step-27/Makefile @@ -14,7 +14,7 @@ target = $(basename $(shell echo step-*.cc)) # run-time checking of parameters and internal states is performed, so # you should set this value to `on' while you develop your program, # and to `off' when running production computations. -debug-mode = on +debug-mode = off # As third field, we need to give the path to the top-level deal.II -- 2.39.5