Skip to content

BUG: Fix bugs in Matrix3X1, Stereographic, and OrientationConverterTest#37

Merged
imikejackson merged 1 commit intoBlueQuartzSoftware:developfrom
imikejackson:topic/bug_fixes
Feb 20, 2026
Merged

BUG: Fix bugs in Matrix3X1, Stereographic, and OrientationConverterTest#37
imikejackson merged 1 commit intoBlueQuartzSoftware:developfrom
imikejackson:topic/bug_fixes

Conversation

@imikejackson
Copy link
Collaborator

  • Matrix3X1::normalize() (static): Add missing return true on success path (undefined behavior)
  • Matrix3X1::sortAscending(): Fix this to *this for copy construction and add missing return outMat
  • Stereographic::isValid(): Fix epsilon from 1.0E15 to 1.0E-15 (validation was effectively disabled)
  • OrientationConverterTest: Fix tolerance from 1.0E6 to 1.0E-6 and compare via orientation matrices to handle Euler angle gimbal lock ambiguity

- Matrix3X1::normalize() (static): Add missing `return true` on success path (undefined behavior)
- Matrix3X1::sortAscending(): Fix `this` to `*this` for copy construction and add missing `return outMat`
- Stereographic::isValid(): Fix epsilon from 1.0E15 to 1.0E-15 (validation was effectively disabled)
- OrientationConverterTest: Fix tolerance from 1.0E6 to 1.0E-6 and compare via orientation matrices to handle Euler angle gimbal lock ambiguity

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@imikejackson imikejackson merged commit 20b8a01 into BlueQuartzSoftware:develop Feb 20, 2026
1 check passed
@imikejackson imikejackson deleted the topic/bug_fixes branch February 20, 2026 18:34
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