NCAR / DART

Data Assimilation Research Testbed
https://dart.ucar.edu/
Apache License 2.0
184 stars 139 forks source link

fix: format statement in assert_mod #618

Closed hkershaw-brown closed 6 months ago

hkershaw-brown commented 6 months ago

Description:

Fix for format statement in assert_mod. The goal of putting in this seemingly inconsequential change in is so the NAG compiler can be used to build dart, and not error out on this.

The other NAG build error is fixed in #588.

Fixes issue

fixes nag compiler (item 2) #615

Types of changes

Documentation changes needed?

Tests

Please describe any tests you ran to verify your changes.

program test_assert

use assert_mod, only : assert_equal_logical_array

implicit none

logical :: a(3), b(3)

a(:) = .true.
b(:) = .false.

call assert_equal_logical_array(a,b, 'beans on toast')

end program test_assert

add test_assert to serial_programs in quickdbuild.sh

./quickdbuild.sh test_assert
./test_assert 

Checklist for merging

Checklist for release

Testing Datasets