Skip to content

Conversation

@brendancol
Copy link
Contributor

@brendancol brendancol commented Jan 7, 2026

The slope function currently assumes horizontal and vertical units match. If they don't, the slope calculation will be incorrect. This is a rough heuristic to detect when the units differ and warn the user to hopefully prevent confusion.

fixes #840

@brendancol
Copy link
Contributor Author

I'm thinking now this would be better as a helper function as part of a diagnostics module instead of a check that runs on each function

@brendancol brendancol closed this Jan 22, 2026
@brendancol brendancol reopened this Jan 22, 2026
@brendancol brendancol merged commit 90bb8f6 into master Jan 22, 2026
30 of 31 checks passed
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.

slope weird values

2 participants