Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vkbo
Copy link
Member

@vkbo vkbo commented Oct 9, 2019

Adds the INITNAN debug flag to the build system to initialise all real and complex variables to signalling NaN. The implementation in each compiler varies a bit, but they all have it now. For gfortran, character arrays are also initialised to \0.

Running the tests with this flag, I spotted a number of issues. I fixed all the ones I could track down. This includes fixing postpr so that it writes a valid fort.10 also when ntwin = 1.

In addition, I spotted a bunch of pi values computed with atan_mb and replaced them with the constants.

@vkbo vkbo requested a review from JamesMolson October 9, 2019 09:25
@vkbo vkbo requested a review from rdemaria October 9, 2019 14:59
@rdemaria rdemaria merged commit 922d3be into SixTrack:master Oct 9, 2019
@vkbo vkbo deleted the nan_bomb branch October 17, 2019 08:56
Sign up for free to 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.

2 participants