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/round lifetime to next lower integer #82

Merged
merged 4 commits into from
Apr 15, 2024

Conversation

FelixMau
Copy link
Contributor

Rounding lifetime to integers
Adapt tests to hold integer lifetimes only

Once decommissioning is reviewed I want to move both operations to a default calculation function in calculations.py

checking whether all values are equal or if only one value was given. If values differ first given value is taken and warning is issued.
@FelixMau FelixMau linked an issue Apr 11, 2024 that may be closed by this pull request
Copy link
Contributor

@henhuy henhuy left a comment

Choose a reason for hiding this comment

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

You could add a test which checks if your change is working.
I only see that you fixed all lifetimes - but wouldn't they be working with your fix?
Otherwise I'm fine with this PR

@FelixMau
Copy link
Contributor Author

FelixMau commented Apr 15, 2024

They did not work with my tests since all lifetimes had been floats so far. So the test is included in the other tests.

@FelixMau FelixMau merged commit 14b9247 into dev Apr 15, 2024
2 checks passed
@henhuy henhuy deleted the fix/round-lifetime-to-next-lower-integer branch April 15, 2024 11:22
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.

Round lifetime to next lower integer
2 participants