Skip to content

Commit

Permalink
Update src/+groundwater/findPhreaticSurface.m
Browse files Browse the repository at this point in the history
Co-authored-by: SarahAlidoost <[email protected]>
  • Loading branch information
MostafaGomaa93 and SarahAlidoost authored Jun 19, 2024
1 parent e2cef1e commit e02417b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/+groundwater/findPhreaticSurface.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ soilThick cumulative soil layers thickness (from top to bottom)
if depToGWT <= 0
warning('The pheratic surface level is equal or higher than the land surface level!');
% check 2
elseif depToGWT > Tot_Depth
elseif depToGWT > ModelSettings.Tot_Depth; % total soil depth
warning('The pheratic surface level is lower than the end of the soil column!');
end
% check 3
Expand Down

0 comments on commit e02417b

Please sign in to comment.