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 #351: Infinite loop using beam source in egs++ #352

Merged
merged 1 commit into from Nov 8, 2017

Conversation

rtownson
Copy link
Contributor

@rtownson rtownson commented Oct 3, 2017

Due to a floating point comparison, an infinite loop was possible in egs++ applications using a beam shared library source. This was fixed using the epsilon constant.

@rtownson rtownson added the bug label Oct 3, 2017
@rtownson rtownson self-assigned this Oct 3, 2017
Add an epsilon constant in the energy floating point comparison, to
prevent an infinite loop in egs++ applications using a beam shared
library source.
@ftessier ftessier force-pushed the fix-infinite-loop-egs-chamber branch from b04fde7 to f7c2d93 Compare November 7, 2017 18:03
@ftessier
Copy link
Member

ftessier commented Nov 7, 2017

Just tweaked the commit message.

@ftessier ftessier merged commit 29add4c into develop Nov 8, 2017
@ftessier ftessier deleted the fix-infinite-loop-egs-chamber branch November 8, 2017 21:35
@vahx129
Copy link

vahx129 commented Oct 3, 2018

Hi Reid,

I believe I manually tried to implement that epsilon fix in EGS_2017 but didn't have any success. I haven't looked into this issue much since I haven't been actively working on the TrueBeam model but I can test an input file later on and update you if the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants