]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Arg. Fix conditionals.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 25 Jan 2011 04:46:39 +0000 (04:46 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 25 Jan 2011 04:46:39 +0000 (04:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@23260 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/data_out_base.cc

index 9d3dcac2589ee3f59112551ce7ed9a181ec9cecd..87b87a57320196a04644e0198e86b27018bf299e 100644 (file)
@@ -4550,7 +4550,7 @@ DataOutBase::write_vtu (const std::vector<Patch<dim,spacedim> > &patches,
          << "\n-->\n";
 
       out << "<VTKFile type=\"UnstructuredGrid\" version=\"0.1\"";
-#ifdef HAVE_LIBZ && 0
+#if defined(HAVE_LIBZ) && 0
       out << " compressor=\"vtkZLibDataCompressor\"";
 #endif
 #ifdef DEAL_II_WORDS_BIGENDIAN
@@ -4610,7 +4610,7 @@ DataOutBase::write_vtu (const std::vector<Patch<dim,spacedim> > &patches,
   out << "<Piece NumberOfPoints=\"" << n_nodes
       <<"\" NumberOfCells=\"" << n_cells << "\" >\n";
   out << "  <Points>\n";
-#ifndef HAVE_LIBZ && 0
+#if !defined(HAVE_LIBZ) && 1
   out << "    <DataArray type=\"Float64\" NumberOfComponents=\"3\" format=\"ascii\">\n";
   write_nodes(patches, vtu_out);
   out << "    </DataArray>\n";

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.