From: Wolfgang Bangerth Date: Sat, 4 Apr 2020 04:02:43 +0000 (-0600) Subject: Add a missing assertion. X-Git-Tag: v9.2.0-rc1~306^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9814%2Fhead;p=dealii.git Add a missing assertion. --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 57c38a64a2..a5bf5d30ae 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -5070,6 +5070,10 @@ namespace DataOutBase std::vector data_set_written(n_data_sets, false); for (const auto &nonscalar_data_range : nonscalar_data_ranges) { + AssertThrow(std::get<3>(nonscalar_data_range) != + DataComponentInterpretation::component_is_part_of_tensor, + ExcNotImplemented()); + AssertThrow(std::get<1>(nonscalar_data_range) >= std::get<0>(nonscalar_data_range), ExcLowerRange(std::get<1>(nonscalar_data_range),