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

Hotfix magic number for magnetic tower donut #95

Merged
merged 3 commits into from
Feb 1, 2024
Merged

Conversation

pgrete
Copy link
Contributor

@pgrete pgrete commented Jan 29, 2024

Looks like there was a hardcoded minimal offset for the donut leftover from original development.
Does not affect our INCITE runs as we ran with an offset of 0.001.

Thanks @mfournier01 for reporting (this came up when the MagneticTowerModel::PowerSrcTerm mt_linear_contrib and mt_quadratic_contrib are both zero. (Has MagneticTowerReducePowerContribs been called?) safetey check was triggered for offset <0.001).

@pgrete pgrete added the bug Something isn't working label Jan 29, 2024
@pgrete pgrete requested a review from forrestglines January 29, 2024 23:49
Copy link
Contributor

@forrestglines forrestglines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Odd that it was asymmetric

@forrestglines
Copy link
Contributor

Thanks @mfournier01 for reporting (this came up when the MagneticTowerModel::PowerSrcTerm mt_linear_contrib and mt_quadratic_contrib are both zero. (Has MagneticTowerReducePowerContribs been called?) safetey check was triggered for offset <0.001).

I saw that error come up out of the blue when I was doing some profiling with the cluster setup yesterday but I didn't look into the cause. Very good that it's found!

@pgrete pgrete enabled auto-merge (squash) February 1, 2024 12:03
@pgrete pgrete merged commit 3ce0a88 into main Feb 1, 2024
4 checks passed
@pgrete pgrete deleted the pgrete/donut-hotfix branch March 18, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants