2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-19 04:22:12 +00:00

Fix maybe uninitialized

This commit is contained in:
Matt Borland
2023-12-19 09:53:25 +01:00
parent 9f1b3d6f0f
commit bf6bed433b

View File

@@ -98,7 +98,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE( test_resize , T, resize_check_types )
adjust_size_count = 0;
stepper_type stepper;
test_array_type x;
test_array_type x {};
stepper.do_step( constant_system , x , 0.0 , 0.1 );
stepper.do_step( constant_system , x , 0.0 , 0.1 );
stepper.do_step( constant_system , x , 0.0 , 0.1 );