From 05ce9ad924199d8dc68d2d53fe9954d60f4db282 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Wed, 9 Oct 2019 19:20:16 +0200 Subject: [PATCH] Add changelog entry --- .../changes/incompatibilities/20191009GarciaSanchez | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/news/changes/incompatibilities/20191009GarciaSanchez 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) -- 2.39.5