From: Daniel Arndt Date: Tue, 7 May 2019 00:32:41 +0000 (-0400) Subject: Alternative return value formatting X-Git-Tag: v9.1.0-rc1~119^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8019%2Fhead;p=dealii.git Alternative return value formatting --- diff --git a/examples/step-62/step-62.cc b/examples/step-62/step-62.cc index c87d257c6f..0408ed44ae 100644 --- a/examples/step-62/step-62.cc +++ b/examples/step-62/step-62.cc @@ -477,7 +477,8 @@ namespace step62 } } - return {1, std::max(calculated_pml_x_coeff, calculated_pml_y_coeff)}; + return 1 + std::max(calculated_pml_x_coeff, calculated_pml_y_coeff) * + std::complex(0, 1); }