Skip to content

Commit

Permalink
config_parser: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MSallermann committed Mar 25, 2024
1 parent 741b395 commit 0ab1575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void validate_settings( const SimulationOptions & options )
check( name_and_var( model_settings.reluctance_mean ), g_zero );
check( name_and_var( model_settings.reluctance_sigma ), g_zero );
check( name_and_var( model_settings.reluctance_eps ), g_zero );
check( name_and_var( model_settings.covariance_factor ), []( auto x ) { return x >= -1.0 && x<=1.0; } );
check( name_and_var( model_settings.covariance_factor ), []( auto x ) { return x >= -1.0 && x <= 1.0; } );
// Bot options
size_t n_bots = model_settings.n_bots;
auto check_bot_size = [&]( auto x ) { return x.size() >= n_bots; };
Expand Down

0 comments on commit 0ab1575

Please sign in to comment.