Skip to content

Commit

Permalink
Merge pull request #2915 from GEOS-ESM/main
Browse files Browse the repository at this point in the history
Auto GitFlow - main → develop
  • Loading branch information
mathomp4 authored Jul 17, 2024
2 parents 3ec6b97 + 98273b3 commit 89f6c45
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

## [2.47.1] - 2024-07-17

### Fixed

- Fixed bug in FieldSet routines when passing R8 ESMF fields

## [2.47.0] - 2024-06-24

### Added
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif ()

project (
MAPL
VERSION 2.47.0
VERSION 2.47.1
LANGUAGES Fortran CXX C) # Note - CXX is required for ESMF

# Set the possible values of build type for cmake-gui
Expand Down
4 changes: 2 additions & 2 deletions field_utils/FieldUtilities.F90
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ subroutine FieldSet_r8(field,constant_val,rc)
if (type_kind == ESMF_TYPEKIND_R4) then
call assign_fptr(field,f_ptr_r4,_RC)
f_ptr_r4 = constant_val
else if (type_kind == ESMF_TYPEKIND_R4) then
else if (type_kind == ESMF_TYPEKIND_R8) then
call assign_fptr(field,f_ptr_r8,_RC)
f_ptr_r8 = constant_val
else
Expand All @@ -87,7 +87,7 @@ subroutine FieldSet_r4(field,constant_val,rc)
if (type_kind == ESMF_TYPEKIND_R4) then
call assign_fptr(field,f_ptr_r4,_RC)
f_ptr_r4 = constant_val
else if (type_kind == ESMF_TYPEKIND_R4) then
else if (type_kind == ESMF_TYPEKIND_R8) then
call assign_fptr(field,f_ptr_r8,_RC)
f_ptr_r8 = constant_val
else
Expand Down

0 comments on commit 89f6c45

Please sign in to comment.