From 259306f11200b9cb0ef25538c8c26992106e80ae Mon Sep 17 00:00:00 2001 From: Tom Clune Date: Mon, 26 Jun 2023 08:27:05 -0400 Subject: [PATCH 1/3] Update Assert_Real.tmpl --- src/funit/asserts/Assert_Real.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/funit/asserts/Assert_Real.tmpl b/src/funit/asserts/Assert_Real.tmpl index 52f45c15..3f409e9f 100644 --- a/src/funit/asserts/Assert_Real.tmpl +++ b/src/funit/asserts/Assert_Real.tmpl @@ -187,7 +187,7 @@ module pf_AssertReal_{rank}d @overload(assert_relatively_equal, minimal) - integer, parameter :: MAX_LEN_REAL_AS_STRING = 40 + integer, parameter :: MAX_LEN_REAL_AS_STRING = 45 contains From ebeda5ec0aadebbe72cf4cd32c25136b68207b94 Mon Sep 17 00:00:00 2001 From: Tom Clune Date: Mon, 26 Jun 2023 08:29:18 -0400 Subject: [PATCH 2/3] Update ChangeLog.md --- ChangeLog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index c966dcf9..5ab73a3c 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.7.1] - 2023-06-26 + +### Fixed + +- Increased size of buffer for reporting real values in asserts. Previous length was not quite enough for some 128 bit values, which resulted in EOR failures during execution. + ## [4.7.0] - 2023-04-17 ### Changed From 6b3d98ecf2b2e22b78d5ea4396ee442f2d584fd8 Mon Sep 17 00:00:00 2001 From: Tom Clune Date: Mon, 26 Jun 2023 08:29:33 -0400 Subject: [PATCH 3/3] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f06d94a1..dca99b24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ cmake_minimum_required(VERSION 3.12) project (PFUNIT - VERSION 4.7.0 + VERSION 4.7.1 LANGUAGES Fortran C) cmake_policy(SET CMP0077 NEW)