From: David Wells Date: Fri, 11 Aug 2017 04:49:22 +0000 (-0400) Subject: Directly create an ArrayView from a table. X-Git-Tag: v9.0.0-rc1~1099^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df56518b5c31049cb68dcf83e959ff7fb515ba83;p=dealii.git Directly create an ArrayView from a table. --- diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 1968c74bbc..c455a8a759 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -122,18 +122,12 @@ add_new_points (const ArrayView> &surrounding_points, { AssertDimension(surrounding_points.size(), weights.size(1)); - const std::size_t n_points = surrounding_points.size(); - // TODO find a better dimension-dependent estimate for the size of this - // vector - boost::container::small_vector local_weights(n_points); for (unsigned int row=0; row