Skip to content

Rework UnaryOpNode - #627

Open
arcondello wants to merge 2 commits into
dwavesystems:mainfrom
arcondello:feature/unaryop-rework
Open

Rework UnaryOpNode#627
arcondello wants to merge 2 commits into
dwavesystems:mainfrom
arcondello:feature/unaryop-rework

Conversation

@arcondello

@arcondello arcondello commented Aug 26, 2026

Copy link
Copy Markdown
Member

Make UnaryOpNode header-only.

Builds off of #632, I will rebase once that one is merged.

AI Generation Disclosure

No AI used for the UnaryOpNode changes, see #632 for AI disclosure for the functional.hpp changes.

@arcondello
arcondello force-pushed the feature/unaryop-rework branch 3 times, most recently from ab1eb6a to 1d53fd1 Compare August 27, 2026 20:41
auto p_ptr = graph.emplace_node<UnaryOpNode<TestType>>(a_ptr);
auto* p_ptr = graph.emplace_node<UnaryOpNode<TestType>>(a_ptr);

graph.emplace_node<ArrayValidationNode>(p_ptr);

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.

This test was modified more than the others as part of fixing a bug. I figure the changes are for the better but are not so important that we need to propagate them to all other tests.

Comment thread dwave/optimization/include/dwave-optimization/nodes/unaryop.hpp Outdated
@arcondello arcondello added the enhancement New feature or request label Aug 27, 2026
@arcondello
arcondello force-pushed the feature/unaryop-rework branch from 1d53fd1 to 0373902 Compare August 31, 2026 21:05
@arcondello
arcondello marked this pull request as ready for review August 31, 2026 22:16
@fastbodin
fastbodin self-requested a review September 1, 2026 01:20
@arcondello arcondello mentioned this pull request Sep 8, 2026
@arcondello
arcondello force-pushed the feature/unaryop-rework branch from 5e8f2bb to be613da Compare September 8, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant