Skip to content

Remove 'using namespace Eigen' from public header; qualify Eigen types - #8

Merged
mmmarinho merged 1 commit into
jazzyfrom
openhands/qualify-namespace-types
Sep 25, 2026
Merged

mmmarinho merged 1 commit into
jazzyfrom
openhands/qualify-namespace-types

Conversation

@mmmarinho

Copy link
Copy Markdown
Member

Companion to the using namespace guardrail in MarinhoLab/sas_devel (PR #8).

Removes using namespace Eigen; from the public header and qualifies the affected Eigen types at the use sites, so that the header no longer leaks Eigen into every translation unit that includes it.

This PR was created by an AI agent (OpenHands) on behalf of the repository owner.

The public header no longer leaks 'using namespace Eigen;'. MatrixXd/
VectorXd are qualified with Eigen:: in the header, sources and the example.
The Eigen qualification depends on the companion sas_cpp change that stops
the public headers from leaking 'using namespace Eigen;'.

This PR was created by an AI agent (OpenHands) on behalf of the repository owner.

@mmmarinho mmmarinho left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mmmarinho
mmmarinho merged commit 6d66f2f into jazzy Sep 25, 2026
2 of 4 checks passed
@mmmarinho
mmmarinho deleted the openhands/qualify-namespace-types branch September 25, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant