Skip to content

Conversation

@nickbianco
Copy link
Member

@nickbianco nickbianco commented Nov 7, 2025

Fixes issue #4095

Brief summary of changes

Rather than looking for a very specific fix to the operator overload issue in ControlLinearNode, this change removes the operator overloads entirely in favor of the utility functions isEqual() and isLessThan(). While a breaking change, ControlLinearNode is used almost exclusively by ControlLinear (one other usage by CMC), and I doubt many users interact with this class directly.

IMO, ControlLinear and ControlLinearNode seem overly complicated for what they accomplished should probably be deprecated in favor of solutions specific to the needs of CMC and other dependent tools.

Testing I've completed

Looking for feedback on...

CHANGELOG.md (choose one)

  • updated.

This change is Reviewable

@nickbianco nickbianco requested a review from aymanhab November 7, 2025 17:42
@nickbianco nickbianco force-pushed the remove_control_linear_node_operator_overloads branch 2 times, most recently from ecb0bf5 to 6d18908 Compare November 8, 2025 01:02
Copy link
Member

@aymanhab aymanhab left a comment

Choose a reason for hiding this comment

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

:lgtm:

@aymanhab reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @nickbianco)

@nickbianco nickbianco force-pushed the remove_control_linear_node_operator_overloads branch from 6d18908 to bc0ef87 Compare November 12, 2025 16:00
Copy link
Member

@tkuchida tkuchida left a comment

Choose a reason for hiding this comment

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

LGTM

@nickbianco
Copy link
Member Author

Thanks @aymanhab and @tkuchida!

@nickbianco nickbianco merged commit 7454765 into main Nov 13, 2025
10 of 11 checks passed
@nickbianco nickbianco deleted the remove_control_linear_node_operator_overloads branch November 13, 2025 21:17
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.

4 participants