Skip to content

Improved assertions: update demo to Julienne 3.2.1 assertions - #278

Merged
rouson merged 7 commits into
mainfrom
julienne-3.2.1
Oct 20, 2025
Merged

Improved assertions: update demo to Julienne 3.2.1 assertions#278
rouson merged 7 commits into
mainfrom
julienne-3.2.1

Conversation

@rouson

@rousonrouson commented Oct 18, 2025

Copy link
Copy Markdown
Contributor

This PR replaces all occurrences of the Assert macros call_assert and call_assert_diagnose with either the Juliennecall_julienne_assert macro or the call julienne_assert subroutine invocation. Doing so allows the automatic construction of diagnostic information via Julienne idioms. In many cases, the direct subroutine invocation is chosen over the macro to allow for insertion of custom diagnostic information. This commit also removes many custom diagnostic strings that simply provided the submodule and procedure names, which effectively redundant because Julienne/Assert assertions automatically insert the file name and line number.

Subdirectories converted:

  • demo
  • src
  • test
  • example

This commit replaces all occurrences of the `call_assert` and
`call_assert_diagnose` macros with either the `call_julienne_assert`
macro or the `call julienne_assert` subroutine invocation. Doing so
allows for rich, automatically constructed diagnostic information
provided by Julienne idioms. Where desirable, using calling the
directly facilitates insertion of custom diagnostic information.
@rouson
rouson marked this pull request as ready for review October 20, 2025 02:04
This commit removes the last of the solo uses of _CRAYFTN in Fiats.
The only remaining uses are in the example subdirectory, where some
programs contain `#ifdef _CRAYFTN || _GFORTRAN_`.
@rouson
rouson merged commit a02d67a into mainOct 20, 2025
4 checks passed
@rouson
rouson deleted the julienne-3.2.1 branch October 20, 2025 04:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@rouson