Skip to content

Commit

Permalink
Update src/topography.f90
Browse files Browse the repository at this point in the history
Co-authored-by: Micael Oliveira <[email protected]>
  • Loading branch information
aekiss and micaeljtoliveira authored Oct 25, 2024
1 parent c176f26 commit fc7a8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/topography.f90
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type(topography_t) function topography_constructor(filename, grid_type) result(t
end if
end if
write(output_unit,*) " grid_type = ", topog%grid_type
if (.not.( topog%grid_type == 'B' .or. topog%grid_type == 'C' )) then
if (all(topog%grid_type /= ['B', 'C'])) then
call handle_error(nf90_einval, .true., "grid_type must be B or C")
end if

Expand Down

0 comments on commit fc7a8a1

Please sign in to comment.