Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into release/MAPL-v3 to get hot fix #2916

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,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
Loading