From ed87be1c55a5102f09851e628ec2e1c7aabc4553 Mon Sep 17 00:00:00 2001 From: ckormanyos Date: Sat, 14 Sep 2024 20:54:09 +0200 Subject: [PATCH] Syntax default init --- mandelbrot/mandelbrot_generator_perturbative.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mandelbrot/mandelbrot_generator_perturbative.h b/mandelbrot/mandelbrot_generator_perturbative.h index fb7f4ed..9a61cdd 100644 --- a/mandelbrot/mandelbrot_generator_perturbative.h +++ b/mandelbrot/mandelbrot_generator_perturbative.h @@ -179,13 +179,13 @@ i_col < x_coord.size(); // NOLINT(altera-id-dependent-backward-branch) ++i_col) { - my_iteration_numeric_type er { static_cast(UINT8_C(0)) }; - my_iteration_numeric_type ei { static_cast(UINT8_C(0)) }; - my_iteration_numeric_type quad_length { static_cast(UINT8_C(0)) }; - my_iteration_numeric_type zer { static_cast(UINT8_C(0)) }; - my_iteration_numeric_type zei { static_cast(UINT8_C(0)) }; - my_iteration_numeric_type zkr_temp { static_cast(UINT8_C(0)) }; - my_iteration_numeric_type zki_temp { static_cast(UINT8_C(0)) }; + my_iteration_numeric_type er { }; + my_iteration_numeric_type ei { }; + my_iteration_numeric_type quad_length { }; + my_iteration_numeric_type zer { }; + my_iteration_numeric_type zei { }; + my_iteration_numeric_type zkr_temp { }; + my_iteration_numeric_type zki_temp { }; // Use an optimized complex-numbered multiplication scheme. // Thereby reduce the main work of the Mandelbrot iteration to