From: Jiaqi Zhang Date: Thu, 2 Jun 2022 13:31:13 +0000 (-0400) Subject: address comments X-Git-Tag: v9.4.0-rc1~80^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c0116c05abea9eb9e60b38e722a2806e10c2cdb;p=dealii.git address comments --- diff --git a/examples/step-81/step-81.cc b/examples/step-81/step-81.cc index c47b790e24..7be44e5f7a 100644 --- a/examples/step-81/step-81.cc +++ b/examples/step-81/step-81.cc @@ -318,7 +318,7 @@ namespace Step81 const double s = strength * ((radius - inner_radius) * (radius - inner_radius)) / ((outer_radius - inner_radius) * (outer_radius - inner_radius)); - return std::complex(1.0, s); + return {1.0, s}; } else { @@ -340,7 +340,7 @@ namespace Step81 (radius - inner_radius)) / (radius * (outer_radius - inner_radius) * (outer_radius - inner_radius)); - return std::complex(1.0, s_bar); + return {1.0, s_bar}; } else {