Skip to content

Fix orthogonal vectors with mixed signs - #89

Merged
treeform merged 5 commits into
masterfrom
agent/fix-orthogonal-mixed-sign-vectors
Aug 7, 2026
Merged

Fix orthogonal vectors with mixed signs#89
treeform merged 5 commits into
masterfrom
agent/fix-orthogonal-mixed-sign-vectors

Conversation

@treeform

@treeform treeform commented Aug 7, 2026

Copy link
Copy Markdown
Owner

The input was shadowed by abs(v), so orthogonal crossed the selected axis with the absolute-valued vector instead of the original signed vector. For mixed-sign inputs, the result could therefore have a nonzero dot product with the input.

Fixes #88

@treeform
treeform marked this pull request as ready for review August 7, 2026 15:37
@treeform
treeform merged commit 1b6080f into master Aug 7, 2026
3 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.

orthogonal proc seems incorrect

1 participant