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 crash in calc_TLLxTxRatio() if Tx.data.background=NULL. #130

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Fix crash in calc_TLLxTxRatio() if Tx.data.background=NULL. #130

merged 1 commit into from
Aug 12, 2024

Conversation

mcol
Copy link
Contributor

@mcol mcol commented Aug 8, 2024

This gives a default value to the BG.Error variable, as otherwise it wouldn't have any in the Tx.data.background=NULL case. Fixes #129.

The additional test added also brings coverage to 100% (#121).

This gives a default value to the `BG.Error` variable, as otherwise it
wouldn't have any in the `Tx.data.background=NULL` case.
@RLumSK RLumSK merged commit f1b3d3f into R-Lum:dev_0.9.x Aug 12, 2024
10 checks passed
RLumSK added a commit that referenced this pull request Aug 12, 2024
@mcol mcol deleted the issue_129 branch August 12, 2024 14:24
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