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 tutor7pp ausgab and output bugs #454

Merged
merged 2 commits into from
Sep 26, 2018
Merged

Fix tutor7pp ausgab and output bugs #454

merged 2 commits into from
Sep 26, 2018

Conversation

rtownson
Copy link
Collaborator

@rtownson rtownson commented Jun 8, 2018

  1. Fix a tutor7pp bug related to ausgab calls. When an ausgab object was used in the input file, results differed due to random memory accesses. This was due to an uninitialized value related to russian roulette, when it was not turned on. However, the results were correct when no ausgab objects were used.

This is therefore a critical bug fix for tutor7pp. Thanks to Nigel Vezeau for reporting this bug.

  1. Fix a tutor7pp bug where the pulse height regions specified by the user in the input file were not associated with the correct regions. The PHDs that were output corresponded to ir+1, but the input/output suggested that they corresponded to ir. Now, the PHDs are output for the correct regions and there is additional description of the output format.

Thanks to Lucas Paixão for reporting this bug.

  1. Added some ausgab call values that were missing in application.h. This change is just for future use and consistency.

@rtownson rtownson added the bug label Jun 8, 2018
@rtownson rtownson self-assigned this Jun 8, 2018
mainegra
mainegra previously approved these changes Jun 8, 2018
blakewalters
blakewalters previously approved these changes Jun 8, 2018
@rtownson rtownson force-pushed the fix-ausgab-bug branch 2 times, most recently from beae928 to fcf66f7 Compare June 25, 2018 17:54
@rtownson rtownson dismissed stale reviews from mainegra and blakewalters June 26, 2018 17:42

new changes need review

@rtownson rtownson changed the title Fix a tutor7pp ausgab bug Fix a tutor7pp ausgab and output bugs Jun 26, 2018
@rtownson rtownson changed the title Fix a tutor7pp ausgab and output bugs Fix tutor7pp ausgab and output bugs Jun 26, 2018
Fix a tutor7pp bug related to ausgab calls. The value of whether or not
to do russian roulette was not initialized properly. When an ausgab
object was included in the input file, results differed due to random
memory accesses. The results were correct when no ausgab objects were
included.

This is therefore a critical bug fix for tutor7pp.

Also add some ausgab call values that were missing in application.h, for
future use and consistency.
Fix a bug in tutor7pp where the pulse-height distribution (PHD) regions
specified in the input file were not associated with the correct
regions. The PHDs that were output corresponded to ir+1, but the input
and output suggested that they corresponded to ir. Now, the PHDs are
output for the correct regions and there is additional description of
the output format.
@ftessier ftessier merged commit 2ae1bff into develop Sep 26, 2018
@ftessier ftessier deleted the fix-ausgab-bug branch September 26, 2018 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants