From: Wolfgang Bangerth Date: Thu, 5 Feb 2015 03:54:29 +0000 (-0600) Subject: Use the appropriate syntax to add points (the difference of points yields a Tensor... X-Git-Tag: v8.3.0-rc1~494^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc4ee7928a24bc9b89549f20fbdc8726efbfceea;p=dealii.git Use the appropriate syntax to add points (the difference of points yields a Tensor<1,dim>). --- diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index 87a550c93b..83cf76e6a6 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -2170,7 +2170,7 @@ next_cell: gradient[d] = ((objective_function (object, object_mid_point + h) - - objective_function (object, object_mid_point - h)) + objective_function (object, object_mid_point + (-h))) / eps); else @@ -2181,7 +2181,7 @@ next_cell: - objective_function (object, manifold->project_to_surface(object, - object_mid_point - h))) + object_mid_point + (-h)))) / eps); }