From: Daniel Garcia-Sanchez Date: Wed, 9 Oct 2019 17:20:16 +0000 (+0200) Subject: Add changelog entry X-Git-Tag: v9.2.0-rc1~984^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8878%2Fhead;p=dealii.git Add changelog entry --- diff --git a/doc/news/changes/incompatibilities/20191009GarciaSanchez b/doc/news/changes/incompatibilities/20191009GarciaSanchez new file mode 100644 index 0000000000..02e620f187 --- /dev/null +++ b/doc/news/changes/incompatibilities/20191009GarciaSanchez @@ -0,0 +1,10 @@ +Changed: The type of exact_solution in VectorTools::integrate_difference() was +double and fe_function could have any numerical type (double, float, +std::complex or std::complex). This would lead in certain cases +to unnecessary casts, for example from double to float. In addition it was not +possible to compare a std::complex exact_solution to a std::complex fe_function. +Now the types of exact_solution and fe_function must be the same, as a result +integrate_difference() can be used to compare a std::complex exact_solution to +a std::complex fe_function. The old version of the function has been deprecated. +
+(Daniel Garcia-Sanchez, 2019/10/09)