Skip to content

fix: normalise fold direction by its length and keep dgz shape when i… - #337

Merged
lachlangrose merged 2 commits into
masterfrom
fix/fold-deformed-orientation
Oct 5, 2026
Merged

lachlangrose merged 2 commits into
masterfrom
fix/fold-deformed-orientation

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

…nverting

get_deformed_orientation divided the fold direction by the sum of its components, not by its length. With invert_norm, it returned only a subset of the rows of dgz. Now the fold direction is unit length and invert_norm flips all of dgz.

…nverting

get_deformed_orientation divided the fold direction by the sum of its
components, not by its length. With invert_norm, it returned only a
subset of the rows of dgz. Now the fold direction is unit length and
invert_norm flips all of dgz.
@lachlangrose
lachlangrose merged commit 954d65f into master Oct 5, 2026
6 checks passed
@lachlangrose
lachlangrose deleted the fix/fold-deformed-orientation branch October 5, 2026 18: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.

1 participant