From: bangerth Date: Wed, 17 Oct 2007 00:59:01 +0000 (+0000) Subject: Fix a bug: in 1d, vector ranges can well contain only a single element. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2636cb7268e517352f527cb9eba6aea628c33ace;p=dealii-svn.git Fix a bug: in 1d, vector ranges can well contain only a single element. git-svn-id: https://svn.dealii.org/trunk@15325 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 36e89bdf4c..f141e53e44 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -3853,7 +3853,7 @@ DataOutBase::write_vtk (const std::vector > &patches, for (unsigned int n_th_vector=0; n_th_vector() > + AssertThrow (vector_data_ranges[n_th_vector].template get<1>() >= vector_data_ranges[n_th_vector].template get<0>(), ExcLowerRange (vector_data_ranges[n_th_vector].template get<1>(), vector_data_ranges[n_th_vector].template get<0>()));