Skip to content

Commit

Permalink
Remove redundant check in CLMBuildNamelist.pm.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Oct 6, 2023
1 parent d303ccb commit bd4a04e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3362,10 +3362,6 @@ sub setup_logic_hillslope {
if ( (! &value_is_true($use_hillslope)) && &value_is_true($use_hillslope_routing) ) {
$log->fatal_error("Cannot turn on use_hillslope_routing when use_hillslope is off\n" );
}
my $downscale_hillslope_meteorology = $nl->get_value('use_hillslope_routing');
if ( (! &value_is_true($use_hillslope)) && &value_is_true($downscale_hillslope_meteorology) ) {
$log->fatal_error("Cannot turn on downscale_hillslope_meteorology when use_hillslope is off\n" );
}
}

#-------------------------------------------------------------------------------
Expand Down

0 comments on commit bd4a04e

Please sign in to comment.