Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/cddp_core/test_clddp_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ TEST(CLDDPTest, SolveCar)
options.num_threads = 1;
options.verbose = true;
options.debug = false;
options.regularization.initial_value = 1e-7;
options.regularization.initial_value = 1e-6;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line sets the regularization initial value to 1e-6, which is its default value. I noticed that several other options in this test are also explicitly set to their default values (e.g., acceptable_tolerance, verbose, debug). To improve code clarity and reduce redundancy, consider removing the explicit assignments for all options that use their default values. This would make the test setup cleaner by only highlighting the non-default parameters.

options.return_iteration_info = true; // Get detailed iteration history

// Set options
Expand Down