]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add changelog entry 8878/head
authorDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Wed, 9 Oct 2019 17:20:16 +0000 (19:20 +0200)
committerDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Wed, 9 Oct 2019 17:20:16 +0000 (19:20 +0200)
doc/news/changes/incompatibilities/20191009GarciaSanchez [new file with mode: 0644]

diff --git a/doc/news/changes/incompatibilities/20191009GarciaSanchez b/doc/news/changes/incompatibilities/20191009GarciaSanchez
new file mode 100644 (file)
index 0000000..02e620f
--- /dev/null
@@ -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<double> or std::complex<float>). 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.
+<br>
+(Daniel Garcia-Sanchez, 2019/10/09)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.