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

Fix comparison between int and bool. #68

Merged
merged 2 commits into from
Mar 24, 2025
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ PP_THREAD_SAFE FUNCTION GRIB2_SECTION4_MODEL_PRESET( THIS, &
CALL GRIB_IS_DEFINED( HANDLE, 'localDefinitionNumber', IS_DEFINED, STATUS=KRET )
PP_DEBUG_CRITICAL_COND_THROW( KRET.NE.GRIB_SUCCESS , ERRFLAG_UNABLE_TO_CHECK_IS_DEFINED )

IF( IS_DEFINED) THEN
IF( IS_DEFINED.NE.0 ) THEN
LOCAL_DEFINITION=0_JPIM_K
KRET=GRIB_SUCCESS
CALL GRIB_GET( HANDLE, 'localDefinitionNumber', LOCAL_DEFINITION, STATUS=KRET )
Expand Down Expand Up @@ -936,7 +936,7 @@ PP_THREAD_SAFE FUNCTION GRIB2_SECTION4_MODEL_RUNTIME( THIS, &
CALL GRIB_IS_DEFINED( HANDLE, 'localDefinitionNumber', IS_DEFINED, STATUS=KRET )
PP_DEBUG_CRITICAL_COND_THROW( KRET.NE.GRIB_SUCCESS , ERRFLAG_UNABLE_TO_CHECK_IS_DEFINED )

IF( IS_DEFINED) THEN
IF( IS_DEFINED.NE.0 ) THEN
LOCAL_DEFINITION=0_JPIM_K
KRET=GRIB_SUCCESS
CALL GRIB_GET( HANDLE, 'localDefinitionNumber', LOCAL_DEFINITION, STATUS=KRET )
Expand Down