Skip to content

Comments

Raise errors if ever n < 1#117

Merged
TomWagg merged 6 commits intoTeamLEGWORK:mainfrom
TomWagg:warnings
Jan 11, 2025
Merged

Raise errors if ever n < 1#117
TomWagg merged 6 commits intoTeamLEGWORK:mainfrom
TomWagg:warnings

Conversation

@TomWagg
Copy link
Collaborator

@TomWagg TomWagg commented Jan 11, 2025

I've added checks to the strain calculations and fn_dot function to ensure than n < 1 cannot be supplied.

This will fix #116

@TomWagg TomWagg self-assigned this Jan 11, 2025
@TomWagg
Copy link
Collaborator Author

TomWagg commented Jan 11, 2025

All tests passed but something is up with the coverage workflow, I'll check that out

@TomWagg
Copy link
Collaborator Author

TomWagg commented Jan 11, 2025

It seems this is possibly because this coverage workflow doesn't work well on forks, will continue testing elsewhere but merging this stuff for now

@TomWagg TomWagg merged commit b03d44a into TeamLEGWORK:main Jan 11, 2025
1 check failed
@TomWagg TomWagg deleted the warnings branch January 11, 2025 16:43
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.

throw a warning on lw.utils.fn_dot when n=0

1 participant