From b5da76929b0573a65e7cb150aaa191349e925b81 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 6 May 2019 20:32:41 -0400 Subject: [PATCH] Alternative return value formatting --- examples/step-62/step-62.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5